From 534317f811d8f1451b534d2cc19f91a6ea4bd375 Mon Sep 17 00:00:00 2001
From: Lius <Lius2225@163.com>
Date: 星期一, 21 十月 2024 10:32:24 +0800
Subject: [PATCH] 设备列表导出调整

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

diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml
index c58d194..cd5b126 100644
--- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml
+++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEquipmentMapper.xml
@@ -225,6 +225,9 @@
             <if test="mdcEquipment.deviceCategory != null and mdcEquipment.deviceCategory != '' ">
                 AND t1.device_category = #{mdcEquipment.deviceCategory}
             </if>
+            <if test="mdcEquipment.deviceImportanceLevel != null and mdcEquipment.deviceImportanceLevel != '' ">
+                AND t1.device_importance_level = #{mdcEquipment.deviceImportanceLevel}
+            </if>
             <if test="mdcEquipment.deviceAbnormalStatus != null and mdcEquipment.deviceAbnormalStatus != '' ">
                 AND t1.device_abnormal_status = #{mdcEquipment.deviceAbnormalStatus}
             </if>
@@ -261,6 +264,18 @@
             <if test="mdcEquipment.driveType != null and mdcEquipment.driveType != '' ">
                 AND t1.drive_type = #{mdcEquipment.driveType}
             </if>
+            <if test="mdcEquipment.deviceLevel != null and mdcEquipment.deviceLevel != '' ">
+                AND t1.device_level = #{mdcEquipment.deviceLevel}
+            </if>
+            <if test="mdcEquipment.deviceCategory != null and mdcEquipment.deviceCategory != '' ">
+                AND t1.device_category = #{mdcEquipment.deviceCategory}
+            </if>
+            <if test="mdcEquipment.deviceImportanceLevel != null and mdcEquipment.deviceImportanceLevel != '' ">
+                AND t1.device_importance_level = #{mdcEquipment.deviceImportanceLevel}
+            </if>
+            <if test="mdcEquipment.deviceAbnormalStatus != null and mdcEquipment.deviceAbnormalStatus != '' ">
+                AND t1.device_abnormal_status = #{mdcEquipment.deviceAbnormalStatus}
+            </if>
             <if test="mdcEquipment.productionIds != null and mdcEquipment.productionIds.size() > 0 ">
                 AND t3.id IN
                 <foreach collection="mdcEquipment.productionIds" index="index" item="id" open="(" separator="," close=")">

--
Gitblit v1.9.3