瀏覽代碼

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

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…
取消
儲存