From 4545af9041b432cbe79214d52be599e4ce8659aa Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期四, 14 八月 2025 15:55:39 +0800 Subject: [PATCH] 二保结构树代码 维修工单添加 领取按钮 领取后 生成维修开始时间 提交后 生成维修结束时间 计算 维修时长 故障时长 添加导出 --- lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EamMaintenanceStandardMapper.xml | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EamMaintenanceStandardMapper.xml b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EamMaintenanceStandardMapper.xml index ddec816..1bc0828 100644 --- a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EamMaintenanceStandardMapper.xml +++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/EamMaintenanceStandardMapper.xml @@ -3,10 +3,22 @@ <mapper namespace="org.jeecg.modules.eam.mapper.EamMaintenanceStandardMapper"> <select id="queryPageList" resultType="org.jeecg.modules.eam.entity.EamMaintenanceStandard"> select ems.*, e.equipment_code, e.equipment_name, - e.equipment_model + e.equipment_model,f.process_instance_id as 'procInstId' from eam_maintenance_standard ems inner join eam_equipment e on ems.equipment_id = e.id + left join flow_my_business f + on f.data_id=ems.id + ${ew.customSqlSegment} + </select> + <select id="queryList" resultType="org.jeecg.modules.eam.entity.EamEquipment"> + SELECT + e.*, + ems.id as 'maintenanceStandardId', + ems.standard_name as 'maintenanceStandardName' + FROM + eam_equipment e + INNER JOIN eam_maintenance_standard ems ON ems.equipment_id = e.id ${ew.customSqlSegment} </select> </mapper> -- Gitblit v1.9.3