自动完单时主单状态错误
This commit is contained in:
parent
24a5b2d44f
commit
5337178504
|
|
@ -170,7 +170,7 @@ public class OrderMasterServiceImpl implements OrderMasterService {
|
|||
Assert.notNull(payment, String.format("主订单[id=%d]找不到支付记录", orderMasterId));
|
||||
|
||||
// 修改主订单状态
|
||||
updateStatus(orderMasterId, OrderStatus.FINISH_CHECK.code());
|
||||
updateStatus(orderMasterId, OrderStatus.FINISH.code());
|
||||
|
||||
if (BigDecimal.ZERO.compareTo(financialMaster.getPayMoney()) > -1) {
|
||||
logger.info("订单[code={}]支付金额<=0,不需要分账", orderMaster.getCode());
|
||||
|
|
|
|||
Loading…
Reference in New Issue