From c34fc83655b146b40802e1fce22db37b7367c83d Mon Sep 17 00:00:00 2001 From: Houjie <714924425@qq.com> Date: 星期一, 30 六月 2025 09:23:12 +0800 Subject: [PATCH] 企业微信登录 --- lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EamReportRepairMapper.xml | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EamReportRepairMapper.xml b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EamReportRepairMapper.xml index 55e6baf..59506ad 100644 --- a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EamReportRepairMapper.xml +++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EamReportRepairMapper.xml @@ -96,4 +96,20 @@ and err.del_flag = 0 order by e.org_id, err.fault_start_time </select> + + <select id="faultTypeStatistics" resultType="org.jeecg.modules.eam.vo.FaultTypeStatisticsVO"> + select t.fault_type, count(1) as faultCount + from eam_report_repair t + where t.report_status != 'ABOLISH' and t.del_flag = 0 + and t.create_time >= #{start} + and t.create_time < #{end} + group by t.fault_type + </select> + <select id="queryPageList" resultType="org.jeecg.modules.eam.entity.EamReportRepair"> + select wmo.*, e.equipment_code, e.equipment_name, e.installation_position + from eam_report_repair wmo + inner join eam_equipment e + on wmo.equipment_id = e.id + ${ew.customSqlSegment} + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3