@@ -109,7 +109,9 @@ public class OrderCancelManager extends AbstractOrderManager<OrderCancelRequest> | |||
orderInfoExtRepo.save(orderInfoExt); | |||
// 更改订单步骤并保存 | |||
orderInfoRepo.merge(order); | |||
orderPayRepo.saveAll(pays); | |||
if (!isEmpty(pays)) { | |||
orderPayRepo.saveAll(pays); | |||
} | |||
transactionManager.persistTransaction(ISSUE_ORDER_SYNC, order.getOrderNo(), "订单取消"); | |||
} | |||