From 621f1bdaa9d84ea7e1fba28d883c4927a14ee485 Mon Sep 17 00:00:00 2001
From: Lius <Lius2225@163.com>
Date: 星期一, 09 九月 2024 14:34:51 +0800
Subject: [PATCH] update

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

diff --git a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEfficiencyReportMapper.xml b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEfficiencyReportMapper.xml
index 73d3381..267045c 100644
--- a/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEfficiencyReportMapper.xml
+++ b/lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEfficiencyReportMapper.xml
@@ -37,6 +37,9 @@
         <if test="vo.deviceCategory != null and vo.deviceCategory != '' ">
             AND t2.device_category = #{vo.deviceCategory}
         </if>
+        <if test="vo.deviceImportanceLevel != null and vo.deviceImportanceLevel != '' ">
+            AND t2.device_importance_level = #{vo.deviceImportanceLevel}
+        </if>
         <if test="vo.equipmentIdList != null and vo.equipmentIdList.size() > 0 ">
             AND t2.equipment_id IN
             <foreach collection="vo.equipmentIdList" item="id" index="index" open="(" close=")" separator=",">
@@ -83,6 +86,9 @@
         </if>
         <if test="vo.deviceCategory != null and vo.deviceCategory != '' ">
             AND t2.device_category = #{vo.deviceCategory}
+        </if>
+        <if test="vo.deviceImportanceLevel != null and vo.deviceImportanceLevel != '' ">
+            AND t2.device_importance_level = #{vo.deviceImportanceLevel}
         </if>
         <if test="vo.equipmentIdList != null and vo.equipmentIdList.size() > 0 ">
             AND t2.equipment_id IN
@@ -137,6 +143,9 @@
             <if test="vo.deviceCategory != null and vo.deviceCategory != '' ">
                 AND t2.device_category = #{vo.deviceCategory}
             </if>
+            <if test="vo.deviceImportanceLevel != null and vo.deviceImportanceLevel != '' ">
+                AND t2.device_importance_level = #{vo.deviceImportanceLevel}
+            </if>
         </where>
         GROUP BY
             t2.equipment_id,

--
Gitblit v1.9.3