소스 검색

合同线下签署逻辑优化

liuj 2 일 전
부모
커밋
7649698f6e
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      src/main/java/com/sunxung/factoring/service/financing/contract/impl/ContractMakingServiceImpl.java

+ 3 - 2
src/main/java/com/sunxung/factoring/service/financing/contract/impl/ContractMakingServiceImpl.java

@@ -816,6 +816,9 @@ public class ContractMakingServiceImpl implements ContractMakingService {
                     financingBasicInfo.setCurrentStage(FinancingCurrentStageEnum.PAYMENT_APPLY.getCode());
                     financingBasicInfoService.updateById(financingBasicInfo);
                     procVariables.put(ConstantUtil.PAYMENT_APPLY_ASSIGNEE, assigneeService.getIdByBusiness(financingBasicInfo.getId(), key, ConstantUtil.ASSIGNEE_PROJECT_MANAGER));
+
+                    //新增付款信息
+                    addPaymentInfo(financingBasicInfo, contractInfo, quotaDisburse);
                 } else if (contractInfo.getContractSignMethod().equals(1)) {
                     //如果是电子签
                     //修改融资申请当前阶段为付款申请
@@ -832,8 +835,6 @@ public class ContractMakingServiceImpl implements ContractMakingService {
                     if (CollectionUtil.isNotEmpty(contractInfo.getUploadContractInfoList())) {
                         doUploadContract(contractInfo);
                     }
-                    //新增付款信息
-                    addPaymentInfo(financingBasicInfo, contractInfo, quotaDisburse);
                 }
             } else if (contractInfo.getConclusion().equals(ConstantConversionUtil.APPROVAL_RESULT_BACK)) {
                 //修改融资申请当前阶段