From 2c250bb7d2c0efd16e5f124648bc77f5fd93040a Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期日, 29 十月 2023 22:05:14 +0800
Subject: [PATCH] 增加下次三保时间  技术状态类型及单号

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

diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/RepairOrderMapper.xml b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/RepairOrderMapper.xml
index 2f75400..aa3a807 100644
--- a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/RepairOrderMapper.xml
+++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/RepairOrderMapper.xml
@@ -15,6 +15,10 @@
         t2.name equipmentName,
         t2.model equipmentModel,
         t2.specific_equipment specificEquipment,
+        t1.fault_reason faultReason,
+        t1.fault_phenomenon faultPhenomenon,
+        t1.preventive_measure preventiveMeasure,
+        t1.fault_remove faultRemove,
         t1.fault_description faultDescription,
         t1.fault_time faultTime,
         t1.photo photo,
@@ -58,6 +62,18 @@
         <if test="status != null and status != ''">
             and t1.status = #{status}
         </if>
+        <if test="equipmentCategoryId != null and equipmentCategoryId != ''">
+            and t2.equipment_category_id = #{equipmentCategoryId}
+        </if>
+        <if test="factoryModelId != null and factoryModelId != ''">
+            and t2.factory_model_id = #{factoryModelId}
+        </if>
+        <if test="specificEquipment != null and specificEquipment != ''">
+            and t2.specific_equipment = #{specificEquipment}
+        </if>
+        <if test="teamId != null and teamId != ''">
+            and t1.team_id = #{teamId}
+        </if>
         and t1.repair_order_type = #{repairOrderType}
         order by t1.create_time desc
     </select>

--
Gitblit v1.9.3