From 7e8d0345fa4afce3a0c25f0445c43a80657fd04e Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期一, 25 八月 2025 11:02:12 +0800 Subject: [PATCH] 设备管理首页列表接口 --- lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/mapper/xml/EamReportRepairMapper.xml | 25 ++++++++++++++++++++++--- 1 files changed, 22 insertions(+), 3 deletions(-) diff --git a/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/mapper/xml/EamReportRepairMapper.xml b/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/mapper/xml/EamReportRepairMapper.xml index dd2d260..a4d054b 100644 --- a/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/mapper/xml/EamReportRepairMapper.xml +++ b/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/mapper/xml/EamReportRepairMapper.xml @@ -48,11 +48,30 @@ </where> ORDER BY t1.create_time DESC </select> - <select id="queryPageList" resultType="org.jeecg.modules.eam.entity.EamReportRepair"> - select wmo.*, e.equipment_code, e.equipment_name, e.installation_position + <select id="queryPageList" resultType="org.jeecg.modules.eam.dto.EamReportRepairDto"> + select wmo.*, e.equipment_code, e.equipment_name,e.equipment_model, e.installation_position, + aar.operation_certificate, power_off_restart, batch_first_piece, variable_factors, + variable_factors_value, execute_nc, accident_phenomenon, measure, causing_results from eam_report_repair wmo inner join eam_equipment e on wmo.equipment_id = e.id + and e.del_flag=0 + left join eam_report_accidents_register aar + on wmo.id = aar.report_id + and aar.del_flag=0 ${ew.customSqlSegment} </select> -</mapper> \ No newline at end of file + <select id="queryList" resultType="org.jeecg.modules.eam.dto.EamReportRepairDto"> + select wmo.*, e.equipment_code, e.equipment_name,e.equipment_model, e.installation_position, + aar.operation_certificate, power_off_restart, batch_first_piece, variable_factors, + variable_factors_value, execute_nc, accident_phenomenon, measure, causing_results + from eam_report_repair wmo + inner join eam_equipment e + on wmo.equipment_id = e.id + and e.del_flag=0 + left join eam_report_accidents_register aar + on wmo.id = aar.report_id + and aar.del_flag=0 + ${ew.customSqlSegment} + </select> +</mapper> -- Gitblit v1.9.3