|
|
@@ -271,7 +271,7 @@ public class OtherPayableService extends BaseService<OtherPayable> {
|
|
|
// }
|
|
|
// 可用金额为负数,则不能保存
|
|
|
if (accountUpdate.getPaymentResidue().compareTo(BigDecimal.ZERO) == -1) {
|
|
|
- throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.MAC_BALANCE_NO_LESS.getMessage());
|
|
|
+ throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.RESIDUE_NO_LESS.getMessage());
|
|
|
}
|
|
|
accountService.updateByUuid(accountUpdate);
|
|
|
/******************************************* 应付付款的处理 end ********************************************/
|
|
|
@@ -342,7 +342,7 @@ public class OtherPayableService extends BaseService<OtherPayable> {
|
|
|
// }
|
|
|
// 可用金额为负数,则不能保存
|
|
|
if (accountUpdate.getPaymentResidue().compareTo(BigDecimal.ZERO) == -1) {
|
|
|
- throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.MAC_BALANCE_NO_LESS.getMessage());
|
|
|
+ throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.RESIDUE_NO_LESS.getMessage());
|
|
|
}
|
|
|
accountService.updateByUuid(accountUpdate);
|
|
|
|
|
|
@@ -500,7 +500,7 @@ public class OtherPayableService extends BaseService<OtherPayable> {
|
|
|
// }
|
|
|
// 可用金额为负数,则不能保存
|
|
|
if (accountUpdate.getPaymentResidue().compareTo(BigDecimal.ZERO) == -1) {
|
|
|
- throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.MAC_BALANCE_NO_LESS.getMessage());
|
|
|
+ throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.RESIDUE_NO_LESS.getMessage());
|
|
|
}
|
|
|
accountService.updateByUuid(accountUpdate);
|
|
|
/******************************************* 应付付款的处理 end ********************************************/
|
|
|
@@ -610,7 +610,7 @@ public class OtherPayableService extends BaseService<OtherPayable> {
|
|
|
}
|
|
|
// 可用金额为负数,则不能保存
|
|
|
if (accountUpdate.getPaymentResidue().compareTo(BigDecimal.ZERO) == -1) {
|
|
|
- throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.MAC_BALANCE_NO_LESS.getMessage());
|
|
|
+ throw new BaseBusinessException(ResponseCodeEnum.OPERATE_FAIL.getCode(), ErrorCodeEnum.RESIDUE_NO_LESS.getMessage());
|
|
|
}
|
|
|
accountService.updateByUuid(accountUpdate);
|
|
|
|