From 76f63ffe686b4657f3bad626fdc0678550d1b072 Mon Sep 17 00:00:00 2001
From: zt916916 <1903964620@qq.com>
Date: 星期五, 21 三月 2025 11:32:13 +0800
Subject: [PATCH] 重点设备能耗日月年搜索优化

---
 zhitan-system/src/main/resources/mapper/keyequipment/YearKeyEquipmentMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/zhitan-system/src/main/resources/mapper/keyequipment/YearKeyEquipmentMapper.xml b/zhitan-system/src/main/resources/mapper/keyequipment/YearKeyEquipmentMapper.xml
index 3d4e35e..1777718 100644
--- a/zhitan-system/src/main/resources/mapper/keyequipment/YearKeyEquipmentMapper.xml
+++ b/zhitan-system/src/main/resources/mapper/keyequipment/YearKeyEquipmentMapper.xml
@@ -51,7 +51,7 @@
         </foreach>
         AND di.time_type = #{timeType}
         <if test="indexStorageId !='' and indexStorageId !=null">
-            and ci.equipment=#{indexStorageId}
+            and ci.energy_id=#{indexStorageId}
         </if>
         ) aa
         GROUP BY

--
Gitblit v1.9.3