From 724f8ec3bbcf9da50f304f57d8bc9a60ad75ad0a Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期三, 27 八月 2025 18:29:32 +0800 Subject: [PATCH] 修改计算百分比位置 --- lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/mapper/xml/EamReportThreeNoSpareMapper.xml | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/mapper/xml/EamReportThreeNoSpareMapper.xml b/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/mapper/xml/EamReportThreeNoSpareMapper.xml index c3d6173..6942c17 100644 --- a/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/mapper/xml/EamReportThreeNoSpareMapper.xml +++ b/lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/mapper/xml/EamReportThreeNoSpareMapper.xml @@ -21,4 +21,23 @@ AND e.del_flag = 0 ${ew.customSqlSegment} </select> + <select id="queryList" resultType="org.jeecg.modules.eam.dto.EamReportThreeNoSpareDto"> + SELECT + ertns.*, + e.equipment_code, + e.equipment_name, + e.equipment_model, + e.installation_position, + erar.accident_phenomenon, + erar.measure, + erar.causing_results + FROM eam_report_three_no_spare ertns + LEFT JOIN eam_report_accidents_register erar + ON ertns.report_id = erar.report_id + AND erar.del_flag = 0 + INNER JOIN eam_equipment e + ON erar.equipment_id = e.id + AND e.del_flag = 0 + ${ew.customSqlSegment} + </select> </mapper> -- Gitblit v1.9.3