VIP订单分成DEBUG
This commit is contained in:
parent
9758933156
commit
5f50bdc043
|
@ -297,7 +297,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
</trim>
|
||||
</insert>
|
||||
|
||||
<insert id="batchInsert">
|
||||
<insert id="batchInsert" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into ss_bonus(
|
||||
bill_id,
|
||||
bill_no,
|
||||
|
|
|
@ -227,11 +227,11 @@ public class VipOrderServiceImpl implements VipOrderService, AfterPay, AfterRefu
|
|||
// 创建分成数据
|
||||
List<Bonus> bonusList = bonusConverter.toPoList(order, pay.getChannelId());
|
||||
int insertBonus = bonusService.batchInsert(bonusList);
|
||||
ServiceUtil.assertion(insertBonus != bonusList.size(), "创建分成失败");
|
||||
ServiceUtil.assertion(insertBonus != bonusList.size(), "VIP订单%s创建分成失败", order.getOrderNo());
|
||||
|
||||
// 预分成
|
||||
int part = bonusService.prePay(bonusList);
|
||||
ServiceUtil.assertion(part != bonusList.size(), "分配分成失败");
|
||||
ServiceUtil.assertion(part != bonusList.size(), "VIP订单%s预分成失败", order.getOrderNo());
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -129,7 +129,7 @@ public class BillMonitorTask {
|
|||
}
|
||||
|
||||
/**
|
||||
* TODO 监控订单
|
||||
* 监控订单
|
||||
*/
|
||||
public void monitor(String startTime) {
|
||||
// 查询已结束,但未进行流程的订单
|
||||
|
|
Loading…
Reference in New Issue
Block a user