| | |
| | | t4.item_text urgencyName, |
| | | t5.item_text statusName, |
| | | t6.item_text isStopName, |
| | | t7.item_text errUda1_dictText |
| | | t7.item_text errUda1_dictText, |
| | | t8.id quanlityId, |
| | | t9.id faultInfoId, |
| | | t8.is_confirm isConfirm1, |
| | | t9.is_confirm isConfirm2 |
| | | FROM |
| | | mom_eam_equipment_report_repair t1 |
| | | left join mom_eam_equipment t2 on t1.equipment_id = t2.id |
| | | left join sys_depart t3 on t1.use_depart_id = t3.id |
| | | left join mom_eam_quanlity_confirm t8 on t1.id = t8.report_id |
| | | left join mom_eam_fault_info t9 on t8.id = t9.quanlity_id |
| | | left join (select * from v_sys_dict where dict_code='urgency') t4 on t1.urgency = t4.item_value |
| | | left join (select * from v_sys_dict where dict_code='equipment_report_repair_status') t5 on t1.status = t5.item_value |
| | | left join (select * from v_sys_dict where dict_code='is_stop') t6 on t1.is_stop = t6.item_value |
| | |
| | | #{num} |
| | | </foreach> |
| | | </if> |
| | | <if test="params.workCenterIds != null"> |
| | | and t2.work_center_id in |
| | | <foreach collection="params.workCenterIds" open="(" separator="," close=")" item="workCenterId"> |
| | | #{workCenterId} |
| | | </foreach> |
| | | </if> |
| | | ORDER BY t1.create_time desc |
| | | </select> |
| | | <select id="exportList" resultType="org.jeecg.modules.eam.vo.RepairReportExportVo"> |
| | |
| | | t2.num equipmentNum, |
| | | t2.name equipmentName, |
| | | t2.model equipmentModel, |
| | | t2.model, |
| | | t2.team_id teamId, |
| | | t2.specification specification, |
| | | t2.use_id useId, |