Commit 8a6af25e by huluobin

update

parent b62e5d05
......@@ -241,12 +241,12 @@ public class MarketServiceImpl implements MarketService {
.eq(CouponCustomerRelevance::getSourceType, 0));
innerCouponCustomerRelevanceServiceList.forEach(couponCustomerRelevance -> couponCustomerRelevance.setState(CouponCustomerRelevance.STATE_USED));
if (ListUtil.isNotEmpty(innerCouponCustomerRelevanceServiceList)) {
couponCustomerRelevanceService.saveOrUpdateBatch(innerCouponCustomerRelevanceServiceList);
//内部券一般没有订单产生,但还是
couponOrderService.createOrder(innerCouponCustomerRelevanceServiceList);
}
//订单使用的外部券
......@@ -263,6 +263,7 @@ public class MarketServiceImpl implements MarketService {
couponOrderService.createOrder(outerCouponCustomerRelevanceServiceList);
}
//订单使用的次卡
List<TimesCardUsedRecord> timesCardUsedRecordList = timesCardUsedRecordService
.list(new LambdaQueryWrapper<TimesCardUsedRecord>()
......
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