From a7ecb4b14c2e5a56f425f46decc9c203580edd35 Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期四, 25 七月 2024 10:56:56 +0800
Subject: [PATCH] 小修改

---
 lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/DailyInspectionStandardMapper.xml |   13 +++++++++++--
 1 files changed, 11 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 7192fef..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
@@ -32,7 +32,10 @@
             t1.write_person as writePerson,
             t1.audit_person as auditPerson,
             t1.approval_person as approvalPerson,
-            t1.lose_efficacy_person as loseEfficacyPerson
+            t1.lose_efficacy_person as loseEfficacyPerson,
+            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
@@ -49,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