From 9a9697c55fa66821cf74165ac2ae820182dae94d Mon Sep 17 00:00:00 2001
From: lyh <925863403@qq.com>
Date: 星期三, 23 七月 2025 17:41:53 +0800
Subject: [PATCH] 设备维修对应接口

---
 lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/mapper/xml/EamReportRepairMapper.xml |   12 +++++++++---
 1 files changed, 9 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..036a908 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,17 @@
         </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
+</mapper>

--
Gitblit v1.9.3