金额判断错了
This commit is contained in:
parent
d9f3143414
commit
dd477df952
|
|
@ -135,7 +135,7 @@ public class OrderMasterServiceImpl implements OrderMasterService {
|
||||||
PaymentDTO payment = financialMasterService.selectPaymentById(financialMaster.getPaymentId());
|
PaymentDTO payment = financialMasterService.selectPaymentById(financialMaster.getPaymentId());
|
||||||
Assert.notNull(payment, "找不到支付记录");
|
Assert.notNull(payment, "找不到支付记录");
|
||||||
|
|
||||||
if (BigDecimal.ZERO.compareTo(financialMaster.getPayMoney()) < 0) {
|
if (BigDecimal.ZERO.compareTo(financialMaster.getPayMoney()) > -1) {
|
||||||
logger.info("订单[code={}]支付金额<=0,不需要分账", orderMaster.getCode());
|
logger.info("订单[code={}]支付金额<=0,不需要分账", orderMaster.getCode());
|
||||||
// 支付金额<=0的话 不需要走下面的流程了
|
// 支付金额<=0的话 不需要走下面的流程了
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue