From eadaad85fc5fed59c34a0145c2f99a1022581458 Mon Sep 17 00:00:00 2001 From: cuijian <cuijian@xalxzn.com> Date: 星期二, 21 十一月 2023 20:57:25 +0800 Subject: [PATCH] 生产时间间隔报表逻辑、设备完好率报表逻辑 --- lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/OperationCertificateApplyDetailMapper.xml | 5 +++-- 1 files changed, 3 insertions(+), 2 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 f56a720..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,8 +9,9 @@ operation_certificate_apply_id = #{mainId} </delete> <select id="selectByMainId" parameterType="java.lang.String" resultType="org.jeecg.modules.eam.entity.OperationCertificateApplyDetail"> - SELECT * - FROM mom_eam_operation_certificate_apply_detail + 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.id WHERE operation_certificate_apply_id = #{mainId} </select> </mapper> -- Gitblit v1.9.3