From 52aba7f812611d995af1a7ff7f6f5f472a5ef6e8 Mon Sep 17 00:00:00 2001 From: Lemon Date: Mon, 11 Sep 2023 11:17:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=AB=AF=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E6=B7=BB=E5=8A=A0=E5=81=9C=E8=BD=A6=E8=B4=B9=E7=8E=87?= =?UTF-8?q?=E6=8F=8F=E8=BF=B0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jsowell/pile/service/impl/PileStationInfoServiceImpl.java | 3 +++ .../main/java/com/jsowell/pile/vo/web/BillingTemplateVO.java | 3 +++ .../main/resources/mapper/pile/PileBillingTemplateMapper.xml | 1 + 3 files changed, 7 insertions(+) diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileStationInfoServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileStationInfoServiceImpl.java index 478676176..1b3a12314 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileStationInfoServiceImpl.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileStationInfoServiceImpl.java @@ -279,6 +279,9 @@ public class PileStationInfoServiceImpl implements IPileStationInfoService { String redisKey = CacheConstants.SELECT_PILE_STATION_INFO_BY_ID + pileStationInfo.getId(); redisCache.deleteObject(redisKey); + String templateRedisKey = CacheConstants.QUERY_STATION_BILLING_TEMPLATE_LIST + pileStationInfo.getId(); + redisCache.deleteObject(templateRedisKey); + // 先查询一下当前数据库的充电站数据 PileStationInfo queryStationInfo = selectPileStationInfoById(pileStationInfo.getId()); String oldMerchantId = String.valueOf(queryStationInfo.getMerchantId()); diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/vo/web/BillingTemplateVO.java b/jsowell-pile/src/main/java/com/jsowell/pile/vo/web/BillingTemplateVO.java index bb4cf54b0..d1282358b 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/vo/web/BillingTemplateVO.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/vo/web/BillingTemplateVO.java @@ -49,6 +49,9 @@ public class BillingTemplateVO { // 占桩费率(单位:元/分钟) private BigDecimal occupyFee; + // 停车免费描述 + private String parkFeeDescribe; + // 尖时段电费 private BigDecimal sharpElectricityPrice; // 尖时段服务费 diff --git a/jsowell-pile/src/main/resources/mapper/pile/PileBillingTemplateMapper.xml b/jsowell-pile/src/main/resources/mapper/pile/PileBillingTemplateMapper.xml index 89fc4911d..835278f3c 100644 --- a/jsowell-pile/src/main/resources/mapper/pile/PileBillingTemplateMapper.xml +++ b/jsowell-pile/src/main/resources/mapper/pile/PileBillingTemplateMapper.xml @@ -501,6 +501,7 @@ t2.type as deviceType, t2.free_time as freeTime, t2.occupy_fee as occupyFee, + t1.park_fee_describe as parkFeeDescribe, t2.publish_time as publishTime, t3.electricity_price AS sharpElectricityPrice, t3.service_price AS sharpServicePrice,