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 | 38 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 38 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 9de7c1a..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 @@ -2,4 +2,42 @@ <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="org.jeecg.modules.eam.mapper.EamReportThreeNoSpareMapper"> + <select id="queryPageList" resultType="org.jeecg.modules.eam.request.EamReportThreeNoSpareQuery"> + 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> + <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