From 42f3dbc86b4b6cd6b00b761a10443acb5d4d54d4 Mon Sep 17 00:00:00 2001 From: zhitan-cloud <394600+ustcyc@user.noreply.gitee.com> Date: 星期五, 21 二月 2025 21:28:25 +0800 Subject: [PATCH] update README.md. --- zhitan-system/src/main/resources/mapper/peakvalley/ElectricityDataItemMapper.xml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/zhitan-system/src/main/resources/mapper/peakvalley/ElectricityDataItemMapper.xml b/zhitan-system/src/main/resources/mapper/peakvalley/ElectricityDataItemMapper.xml index 449019b..d478107 100644 --- a/zhitan-system/src/main/resources/mapper/peakvalley/ElectricityDataItemMapper.xml +++ b/zhitan-system/src/main/resources/mapper/peakvalley/ElectricityDataItemMapper.xml @@ -65,12 +65,12 @@ "electricity_data_item" di JOIN energy_index ei ON di.index_id = ei.index_id WHERE - di.index_id IN ( SELECT index_id FROM node_index WHERE node_id = #{indexId}) - <if test="emissionType !='' and emissionType !=null and emissionType =='allType'"> + di.index_id IN ( SELECT index_id FROM node_index WHERE node_id = #{nodeId}) + <if test="energyType !='' and energyType !=null and energyType =='allType'"> AND ei.energy_id != '' </if> - <if test="emissionType !='' and emissionType !=null and emissionType !='allType'"> - AND ei.energy_id = #{emissionType} + <if test="energyType !='' and energyType !=null and energyType !='allType'"> + AND ei.energy_id = #{energyType} </if> AND (di.data_time BETWEEN #{beginTime} AND #{endTime}) AND di.time_type = #{timeType} -- Gitblit v1.9.3