From 60c8e0bedc1e14e5606e37c627a53f22e76bca53 Mon Sep 17 00:00:00 2001 From: xhxu Date: Tue, 11 May 2021 12:10:07 +0800 Subject: [PATCH] tt --- .../com/iformall/service/impl/WxCallBackServiceImpl.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxCallBackServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxCallBackServiceImpl.java index 48ce4ab32..1fa8674e3 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxCallBackServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxCallBackServiceImpl.java @@ -4,6 +4,7 @@ import com.github.binarywang.wxpay.bean.businesscircle.PointsNotifyRequest; import com.github.binarywang.wxpay.exception.WxPayException; import com.github.binarywang.wxpay.service.WxPayService; import com.iformall.domain.po.WxBusinessCircleOrder; +import com.iformall.mapper.WxBusinessCircleOrderMapper; import com.iformall.service.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -25,7 +26,7 @@ public class WxCallBackServiceImpl implements WxCallBackService { WxPayAccountService wxPayAccountService; @Autowired - WxBusinessCircleOrderService wxBusinessCircleOrderService; + WxBusinessCircleOrderMapper wxBusinessCircleOrderMapper; /** * @@ -46,7 +47,8 @@ public class WxCallBackServiceImpl implements WxCallBackService { try { String result = wxPayService.getBusinessCircleService().notifyPoints(request); logger.info("微信商圈同步积分请求结果----"+result); - wxBusinessCircleOrderService.updateIsPointsNotify(record); + record.setUpdateTime(new Date()); + wxBusinessCircleOrderMapper.updateIsPointsNotify(record); } catch (WxPayException e) { e.printStackTrace(); }