Преглед изворни кода

[修改][首页列表缓存][优化代码]

release_toaliyun_real
luozukai пре 6 година
родитељ
комит
8c37c019ee
1 измењених фајлова са 3 додато и 3 уклоњено
  1. +3
    -3
      mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java

+ 3
- 3
mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java Прегледај датотеку

@@ -293,9 +293,6 @@ public class WxFlowServiceImpl implements WxFlowService {
wxCoupon.setValidType(validType);
wxCoupon.setTenantId(wxCoupon.getTenantId());
wxCouponService.updateCouponStockAndEndTime(wxCoupon);

//清除缓存
clearCache(wxCoupon.getTenantId());
}
}else if(EnumCouponAppType.CANCLE.getCode().equals(operateType)){
wxCoupon.setCancleApplyStatus(applyStatus);
@@ -307,6 +304,9 @@ public class WxFlowServiceImpl implements WxFlowService {
}
wxCoupon.setApprovalType(operateType);
wxCouponMapper.updateByPrimaryKeySelective(wxCoupon);

//清除缓存
clearCache(wxCoupon.getTenantId());
}else if(EnumFlowKey.SETTLE.getCode().equals(flowType)){
WxBillSettle wxBillSettle = new WxBillSettle();
wxBillSettle.setId(businessId);


Loading…
Откажи
Сачувај