From 5c3742eca3b35c96f66c53b8dfabcb6848e03a7d Mon Sep 17 00:00:00 2001 From: “linengliang” <vanSuperEnergy@163.com> Date: 星期三, 13 十二月 2023 16:46:19 +0800 Subject: [PATCH] 修改 --- lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/OperationCertificateApplyDetailMapper.xml | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/OperationCertificateApplyDetailMapper.xml b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/OperationCertificateApplyDetailMapper.xml index 18fa8bd..651e5b9 100644 --- a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/OperationCertificateApplyDetailMapper.xml +++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/OperationCertificateApplyDetailMapper.xml @@ -9,10 +9,9 @@ operation_certificate_apply_id = #{mainId} </delete> <select id="selectByMainId" parameterType="java.lang.String" resultType="org.jeecg.modules.eam.entity.OperationCertificateApplyDetail"> - SELECT t1.*,t2.realname,t3.name equipmentNames + SELECT t1.*,t2.realname FROM mom_eam_operation_certificate_apply_detail t1 - left join (select * from sys_user where del_flag = 0) t2 on t1.user_id = t2.username - left join (select * from mom_eam_equipment where del_flag = 0) t3 on t1.equipment_ids = t3.id + left join (select * from sys_user where del_flag = 0) t2 on t1.user_id = t2.id WHERE operation_certificate_apply_id = #{mainId} </select> </mapper> -- Gitblit v1.9.3