feat:费用类型
This commit is contained in:
@@ -747,7 +747,10 @@ public class PreAllocationRecordServiceImpl implements PreAllocationRecordServic
|
|||||||
if (!amountSupport){
|
if (!amountSupport){
|
||||||
throw new ServiceException(ErrorCodeEnum.WALLET_BALANCE_INSUFFICIENT);
|
throw new ServiceException(ErrorCodeEnum.WALLET_BALANCE_INSUFFICIENT);
|
||||||
}
|
}
|
||||||
String payNo = GenerateNoUtil.generateMillsNoWithRandom();
|
String payNo = record.getPayNo();
|
||||||
|
if (StringUtils.isEmpty(payNo)){
|
||||||
|
payNo = GenerateNoUtil.generateMillsNoWithRandom();
|
||||||
|
}
|
||||||
AccountTransferDTO accountTransferDTO ;
|
AccountTransferDTO accountTransferDTO ;
|
||||||
try {
|
try {
|
||||||
accountTransferDTO = walletPayInfoService.accountPay(record.getExpenseType(), record.getPayAmount(),
|
accountTransferDTO = walletPayInfoService.accountPay(record.getExpenseType(), record.getPayAmount(),
|
||||||
|
|||||||
Reference in New Issue
Block a user