| | |
| | | t3.depart_name as useDepartName, |
| | | t2.use_id as useId, |
| | | t4.id as teamId, |
| | | t4.name as teamName |
| | | t4.name as teamName, |
| | | t1.take_effect_time as takeEffectTime, |
| | | t1.lose_efficacy_time as loseEfficacyTime, |
| | | t1.approval_status as approvalStatus, |
| | | t7.item_text as approvalStatusName, |
| | | t1.audit_feedback as auditFeedback, |
| | | t1.approval_feedback as approvalFeedback, |
| | | t1.write_person as writePerson, |
| | | t1.audit_person as auditPerson, |
| | | t1.approval_person as approvalPerson, |
| | | t1.lose_efficacy_person as loseEfficacyPerson, |
| | | t1.dis_uda1 as disUda1 |
| | | FROM |
| | | mom_eam_daily_inspection_standard t1 |
| | | LEFT JOIN mom_eam_equipment t2 ON t1.equipment_id = t2.id |
| | |
| | | left join mom_base_team t4 on t2.team_id = t4.id |
| | | left join (select * from v_sys_dict where dict_code = 'version_status') t5 on t1.version_status = t5.item_value |
| | | left join (select * from v_sys_dict where dict_code = 'assign_mode') t6 on t1.assign_mode = t6.item_value |
| | | left join (select * from v_sys_dict where dict_code = 'approval_status') t7 on t1.approval_status = t7.item_value |
| | | where t1.del_flag = 0 |
| | | <if test="num != 'null' and num != ''"> |
| | | and t1.num like concat('%',#{num},'%') |