删除充电桩计费模板 缓存

This commit is contained in:
Guoqs
2024-11-21 14:48:42 +08:00
parent 4de27ac56e
commit a0ab309134
2 changed files with 14 additions and 10 deletions

View File

@@ -26,10 +26,7 @@ import com.jsowell.pile.transaction.service.TransactionService;
import com.jsowell.pile.util.UserUtils;
import com.jsowell.pile.vo.uniapp.customer.BillingPriceVO;
import com.jsowell.pile.vo.uniapp.customer.CurrentTimePriceDetails;
import com.jsowell.pile.vo.web.BillingDetailVO;
import com.jsowell.pile.vo.web.BillingTemplateVO;
import com.jsowell.pile.vo.web.EchoBillingTemplateVO;
import com.jsowell.pile.vo.web.MemberGroupVO;
import com.jsowell.pile.vo.web.*;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections4.CollectionUtils;
import org.springframework.beans.BeanUtils;
@@ -586,6 +583,8 @@ public class PileBillingTemplateServiceImpl implements PileBillingTemplateServic
// 通过站点id清缓存
if (StringUtils.isNotBlank(stationId)) {
redisKeyList.add(CacheConstants.QUERY_STATION_BILLING_TEMPLATE_LIST + stationId);
// 删除充电桩缓存
}
// 通过计费模板id 清缓存
if (templateId != null) {