From 8c37c019eed525abc22073e4d073656c0d352d5e Mon Sep 17 00:00:00 2001 From: luozukai Date: Thu, 26 Sep 2019 16:19:58 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E6=94=B9][=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E7=BC=93=E5=AD=98][=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E4=BB=A3=E7=A0=81]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/iformall/service/impl/WxFlowServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java index e6b2db820..fe9ee7adf 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java +++ b/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);