From 4c28f5670b7d9442136354795f6bee450403b285 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 20 四月 2020 15:45:47 +0800 Subject: [PATCH] 任务代码优化 --- fanli/src/main/java/com/yeshi/fanli/service/impl/order/OrderProcessServiceImpl.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/order/OrderProcessServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/order/OrderProcessServiceImpl.java index 3728a24..682dbe0 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/order/OrderProcessServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/order/OrderProcessServiceImpl.java @@ -39,6 +39,7 @@ import com.yeshi.fanli.entity.bus.user.Order; import com.yeshi.fanli.entity.bus.user.UserExtraTaoBaoInfo; import com.yeshi.fanli.entity.bus.user.UserInfo; +import com.yeshi.fanli.entity.bus.user.UserSystemCoupon; import com.yeshi.fanli.entity.elme.ElmeHongBaoOrderMap; import com.yeshi.fanli.entity.elme.ElmeOrder; import com.yeshi.fanli.entity.jd.JDOrder; @@ -1260,8 +1261,8 @@ hongBaoV2Service.updateByPrimaryKeySelective(update); } // TODO 鍟嗗鍏冲簵璺戣矾闇�瑕佽禒閫侀噾甯� - // userSystemCouponService.systemGiveRewardCoupon(uid, 1, orderId, - // sourceType, "鍥犲晢瀹惰繚绾︽湭鑳界粨绠楄繑鍒╂垨鍟嗗宸茬粡鍏冲簵"); +// userSystemCouponService.rewardCouponWin(uid, +// UserSystemCoupon.SOURCE_SYSTEM_PUSH, 1, true, new BigDecimal("31")); } @Transactional -- Gitblit v1.8.0