From 5706372636fb594320db25d2e2aab8b94e3ef294 Mon Sep 17 00:00:00 2001
From: “linengliang” <vanSuperEnergy@163.com>
Date: 星期四, 14 九月 2023 18:11:15 +0800
Subject: [PATCH] 预测性维护工单

---
 lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/PredictiveWorkOrderMapper.xml |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/PredictiveWorkOrderMapper.xml b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/PredictiveWorkOrderMapper.xml
index 30bc644..cc1c583 100644
--- a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/PredictiveWorkOrderMapper.xml
+++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/PredictiveWorkOrderMapper.xml
@@ -58,12 +58,14 @@
         t1.create_by createBy,
         t1.create_time createTime,
         t1.maintenance_user_id maintenanceUserId,
+        t1.recipient_user_id recipientUserId,
         t2.monitor_type monitorType,
         t2.num planNum,
         t2.id workPlanId,
         t2.team_id teamId,
         t2.plan_version version,
         t2.assign_mode assignMode,
+        t3.id equipmentId,
         t3.num equipmentNum,
         t3.name equipmentName,
         t3.model model,
@@ -89,5 +91,14 @@
         <if test="num != null and num != ''">
             and t1.num like concat('%',#{num},'%')
         </if>
+        <if test="status != null and status != ''">
+            and t1.status = #{status}
+        </if>
+        <if test="equipmentNum != null and equipmentNum != ''">
+            and t3.num like concat('%',#{equipmentNum},'%')
+        </if>
+        <if test="equipmentName != null and equipmentName != ''">
+            and t3.name like concat('%',#{equipmentName},'%')
+        </if>
     </select>
 </mapper>

--
Gitblit v1.9.3