From e06d315f20570f765ae361c135f940940bdaa39c Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期四, 06 四月 2023 18:55:20 +0800
Subject: [PATCH] add community publicity
---
java110-db/src/main/resources/mapper/common/ChargeRuleFeeV1ServiceDaoImplMapper.xml | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/common/ChargeRuleFeeV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/common/ChargeRuleFeeV1ServiceDaoImplMapper.xml
index abe8a54..d665b6b 100644
--- a/java110-db/src/main/resources/mapper/common/ChargeRuleFeeV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/common/ChargeRuleFeeV1ServiceDaoImplMapper.xml
@@ -43,10 +43,14 @@
<if test="minEnergyPrice !=null and minEnergyPrice != ''">
and t.min_energy_price= #{minEnergyPrice}
</if>
+ <if test="energy !=null and energy != ''">
+ and t.min_energy_price <= #{energy}
+ and t.max_energy_price > #{energy}
+ </if>
<if test="communityId !=null and communityId != ''">
and t.community_id= #{communityId}
</if>
- order by t.create_time desc
+ order by t.duration_price
<if test="page != -1 and page != null ">
limit #{page}, #{row}
</if>
--
Gitblit v1.8.0