From 78ee8165199655f2fb5a73775d3101da77a0d367 Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期二, 10 六月 2025 10:55:21 +0800
Subject: [PATCH] 增加管理制度
---
lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/DailyInspectionStandardMapper.xml | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/DailyInspectionStandardMapper.xml b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/DailyInspectionStandardMapper.xml
index 9f94cf3..1808c68 100644
--- a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/DailyInspectionStandardMapper.xml
+++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/DailyInspectionStandardMapper.xml
@@ -33,7 +33,9 @@
t1.audit_person as auditPerson,
t1.approval_person as approvalPerson,
t1.lose_efficacy_person as loseEfficacyPerson,
- t1.dis_uda1 as disUda1
+ t1.dis_uda1 as disUda1,
+ t1.dis_uda2 as disUda2,
+ t1.dis_uda3 as disUda3
FROM
mom_eam_daily_inspection_standard t1
LEFT JOIN mom_eam_equipment t2 ON t1.equipment_id = t2.id
@@ -50,11 +52,17 @@
and t2.name like concat('%',#{name},'%')
</if>
<if test="versionStatus != 'null' and versionStatus != ''">
- and t1.version_status like concat('%',#{versionStatus},'%')
+ and t1.version_status = #{versionStatus}
</if>
<if test="versionStatus == 'null' ">
and t1.version_status='2'
</if>
+ <if test="workCenterIds != null">
+ and t2.work_center_id in
+ <foreach collection="workCenterIds" open="(" separator="," close=")" item="workCenterId">
+ #{workCenterId}
+ </foreach>
+ </if>
ORDER BY t1.create_time desc
</select>
<select id="getInspectionStandardMapList" resultType="java.util.Map">
--
Gitblit v1.9.3