This commit is contained in:
kuang.yifei@iwhalecloud.com 2022-07-21 17:28:42 +08:00
commit 4e3c29b0b1
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ public class OrderMasterServiceImpl implements OrderMasterService {
PaymentDTO payment = financialMasterService.selectPaymentById(financialMaster.getPaymentId());
Assert.notNull(payment, "找不到支付记录");
if (BigDecimal.ZERO.compareTo(financialMaster.getPayMoney()) < 0) {
if (BigDecimal.ZERO.compareTo(financialMaster.getPayMoney()) > -1) {
logger.info("订单[code={}]支付金额<=0不需要分账", orderMaster.getCode());
// 支付金额<=0的话 不需要走下面的流程了
return;