自动完单时主单状态错误

This commit is contained in:
Hawking 2023-05-09 11:05:27 +08:00
parent 24a5b2d44f
commit 5337178504
1 changed files with 1 additions and 1 deletions

View File

@ -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());