Commit 07d091d6 by huluobin

Merge branch 'master' into branch

# Conflicts:
#	src/main/java/com/gogirl/application/market/coupon/impl/MarketServiceImpl.java
parents 4993a381 1ce7a64c
...@@ -239,6 +239,7 @@ public class MarketServiceImpl implements MarketService { ...@@ -239,6 +239,7 @@ public class MarketServiceImpl implements MarketService {
.eq(CouponCustomerRelevance::getOrderId, orderId) .eq(CouponCustomerRelevance::getOrderId, orderId)
.eq(CouponCustomerRelevance::getState, 1) .eq(CouponCustomerRelevance::getState, 1)
.eq(CouponCustomerRelevance::getSourceType, 0)); .eq(CouponCustomerRelevance::getSourceType, 0));
innerCouponCustomerRelevanceServiceList.forEach(couponCustomerRelevance -> couponCustomerRelevance.setState(CouponCustomerRelevance.STATE_USED)); innerCouponCustomerRelevanceServiceList.forEach(couponCustomerRelevance -> couponCustomerRelevance.setState(CouponCustomerRelevance.STATE_USED));
if (ListUtil.isNotEmpty(innerCouponCustomerRelevanceServiceList)) { if (ListUtil.isNotEmpty(innerCouponCustomerRelevanceServiceList)) {
couponCustomerRelevanceService.saveOrUpdateBatch(innerCouponCustomerRelevanceServiceList); couponCustomerRelevanceService.saveOrUpdateBatch(innerCouponCustomerRelevanceServiceList);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment