提交 c51e6e30 authored 作者: huyufan's avatar huyufan

Merge remote-tracking branch 'origin/v10.7_borrowing_and_repayment_20240118' into test

...@@ -732,8 +732,14 @@ public class OwnerLoanRecordServiceImpl implements OwnerLoanRecordService { ...@@ -732,8 +732,14 @@ public class OwnerLoanRecordServiceImpl implements OwnerLoanRecordService {
log.info("宁波银行响应当前业务,不能取消{}", JSONUtil.parse(result)); log.info("宁波银行响应当前业务,不能取消{}", JSONUtil.parse(result));
throw new ServiceSystemException(PerformanceResultEnum.OWNER_LOAN_RECORD_CANCEL_STATUS_ERROR); throw new ServiceSystemException(PerformanceResultEnum.OWNER_LOAN_RECORD_CANCEL_STATUS_ERROR);
} }
if (OwnerLoanRecordEnum.LoanType.FUND.getCode().equals(ownerLoanRecord.getLoanType())) {
log.info("借款记录取消,更新状态为待审批"); log.info("借款记录取消,更新状态为待审批");
ownerLoanRecord.setStatus(OwnerLoanRecordEnum.Status.APPROVE_WAIT.getCode()); ownerLoanRecord.setStatus(OwnerLoanRecordEnum.Status.APPROVE_WAIT.getCode());
} else {
ownerLoanRecord.setStatus(OwnerLoanRecordEnum.Status.PAY_WAIT.getCode());
}
ownerLoanRecordDao.updateStatusById(ownerLoanRecord); ownerLoanRecordDao.updateStatusById(ownerLoanRecord);
if (OwnerLoanRecordEnum.PayChannel.ORDER_DIRECT_PAY.getCode().equals(ownerLoanRecord.getPayChannel())) { if (OwnerLoanRecordEnum.PayChannel.ORDER_DIRECT_PAY.getCode().equals(ownerLoanRecord.getPayChannel())) {
......
...@@ -40,7 +40,7 @@ public class NbBankThirdpartyServiceImpl implements NbBankThirdpartyService { ...@@ -40,7 +40,7 @@ public class NbBankThirdpartyServiceImpl implements NbBankThirdpartyService {
@Autowired @Autowired
private NbBankRecordDao nbBankRecordDao; private NbBankRecordDao nbBankRecordDao;
@PostConstruct //@PostConstruct
public void bankInit() throws IOException { public void bankInit() throws IOException {
File file = new File("/app/nbbank"); File file = new File("/app/nbbank");
file.mkdir(); file.mkdir();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论