Bläddra i källkod

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

release_toaliyun_real
luozukai 7 år sedan
förälder
incheckning
8c37c019ee
1 ändrade filer med 3 tillägg och 3 borttagningar
  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 Visa fil

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

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

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


Laddar…
Avbryt
Spara