From 54abf62e8165dbdb5376bafaa09b31b584de6843 Mon Sep 17 00:00:00 2001
From: Lius <Lius2225@163.com>
Date: 星期五, 23 二月 2024 15:17:04 +0800
Subject: [PATCH] 报表添加驱动类型查询

---
 lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcEfficiencyReportMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 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 10cdba9..1760d69 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
@@ -70,7 +70,7 @@
             AND t2.equipment_type = #{ vo.equipmentType }
         </if>
         <if test="vo.driveType != null and vo.driveType != '' ">
-            AND t2.drive_type = #{driveType}
+            AND t2.drive_type = #{ vo.driveType }
         </if>
         <if test="vo.equipmentIdList != null and vo.equipmentIdList.size() > 0 ">
             AND t2.equipment_id IN
@@ -117,7 +117,7 @@
                 AND t2.equipment_type = #{ vo.equipmentType }
             </if>
             <if test="vo.driveType != null and vo.driveType != '' ">
-                AND t2.drive_type = #{driveType}
+                AND t2.drive_type = #{ vo.driveType }
             </if>
         </where>
         GROUP BY

--
Gitblit v1.9.3