Kaynağa Gözat

合同线下签署逻辑优化

liuj 2 gün önce
ebeveyn
işleme
7649698f6e

+ 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)) {
                 //修改融资申请当前阶段