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,