Explorar el Código

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

release_toaliyun_real
luozukai hace 6 años
padre
commit
8c37c019ee
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  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 Ver fichero

@@ -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);


Cargando…
Cancelar
Guardar