|
@@ -88,13 +88,13 @@ public class AccountRequestFundsFlow extends FlowDelegate {
|
|
|
*/
|
|
|
@Override
|
|
|
public void end(Long flowId, Long businessId, JSONObject submitData) {
|
|
|
- // 通过业务ID查询申购数据
|
|
|
+ // 通过业务ID查询请款数据
|
|
|
AccountRequestFunds accountRequestFunds = accountRequestFundsService.getById(businessId);
|
|
|
if (ObjectUtils.isEmpty(accountRequestFunds)) {
|
|
|
throw new ServiceException("请款表的数据不存在");
|
|
|
}
|
|
|
|
|
|
- // 修改申购状态为审批通过
|
|
|
+ // 修改请款状态为审批通过
|
|
|
accountRequestFunds.setStatus(AccountRequestFundsStatusEnum.PASS.getKey());
|
|
|
|
|
|
// 修改核销状态以及预支单核销状态为已核销
|
|
@@ -135,6 +135,7 @@ public class AccountRequestFundsFlow extends FlowDelegate {
|
|
|
accountPayment.setOpeningBank(accountRequestFunds.getOpeningBank());
|
|
|
accountPayment.setAccountOpening(accountRequestFunds.getAccountOpening());
|
|
|
accountPayment.setInterbankNumber(accountRequestFunds.getInterbankNumber());
|
|
|
+ accountPayment.setCreateUser(accountRequestFunds.getCreateUser());
|
|
|
|
|
|
// 如果是核销 核销数据审批通过后,根据“核销总额 - 预支总额”生成“待打款”数据
|
|
|
if ("3".equals(accountRequestFunds.getType())) {
|