Procházet zdrojové kódy

fix(苏商银行):字典类

liutao před 17 hodinami
rodič
revize
604ce02cec

+ 42 - 0
src/main/java/com/sunxung/factoring/entity/smb/FinancingFromInvestorsNotice.java

@@ -138,6 +138,48 @@ public class FinancingFromInvestorsNotice extends BaseEntity {
     @TableField(exist = false)
     private FileStorage file327;
 
+    /**
+     * 还款账号
+     */
+    @TableField(exist = false)
+    private String repaymentAccount;
+
+    /**
+     * 还款账户名
+     */
+    @TableField(exist = false)
+    private String repaymentAccountName;
+
+    /**
+     * 还款账户账号类型
+     */
+    @TableField(exist = false)
+    private String repaymentAccountType;
+
+    public String getRepaymentAccount() {
+        return repaymentAccount;
+    }
+
+    public void setRepaymentAccount(String repaymentAccount) {
+        this.repaymentAccount = repaymentAccount;
+    }
+
+    public String getRepaymentAccountName() {
+        return repaymentAccountName;
+    }
+
+    public void setRepaymentAccountName(String repaymentAccountName) {
+        this.repaymentAccountName = repaymentAccountName;
+    }
+
+    public String getRepaymentAccountType() {
+        return repaymentAccountType;
+    }
+
+    public void setRepaymentAccountType(String repaymentAccountType) {
+        this.repaymentAccountType = repaymentAccountType;
+    }
+
     public FileStorage getFile301() {
         return file301;
     }

+ 6 - 0
src/main/java/com/sunxung/factoring/service/project/impl/BusinessProcessingTaskServiceImpl.java

@@ -171,6 +171,8 @@ public class BusinessProcessingTaskServiceImpl implements BusinessProcessingTask
     @Autowired
     private RepositoryService repositoryService;
     @Autowired
+    private IFinancingFromInvestorsService financingFromInvestorsService;
+    @Autowired
     private IFinancingFromInvestorsHistoryService financingFromInvestorsHistoryService;
     @Autowired
     private IFinancingFromInvestorsNoticeService financingFromInvestorsNoticeService;
@@ -1050,6 +1052,7 @@ public class BusinessProcessingTaskServiceImpl implements BusinessProcessingTask
             List<FinancingFromInvestorsHistory> financingFromInvestorsHistories = financingFromInvestorsHistoryService.lambdaQuery().eq(FinancingFromInvestorsHistory::getFinancingFromInvestorsId, businessKey).list();
             if(CollectionUtil.isNotEmpty(financingFromInvestorsHistories)){
                 for (FinancingFromInvestorsHistory financingFromInvestorsHistory : financingFromInvestorsHistories) {
+                    FinancingFromInvestors financingFromInvestors = financingFromInvestorsService.getById(financingFromInvestorsHistory.getFinancingFromInvestorsId());
                     FileStorageDO storageDO = fileService.findOneByBusinessId(financingFromInvestorsHistory.getId(), FileModuleDict.ChildEnum.SMB_BUSINESS_LICENSE_FILE_HISTORY.getCode());
                     financingFromInvestorsHistory.setFileStorageDO(storageDO);
                     SupplierInfo supplierInfo = supplierInfoService.get(financingFromInvestorsHistory.getSupplierInfoId());
@@ -1138,6 +1141,9 @@ public class BusinessProcessingTaskServiceImpl implements BusinessProcessingTask
                     Dictionary limit = dictService.getByCode(financingFromInvestorsNotice.getLimitStatus());
                     financingFromInvestorsNotice.setApplyStatus(apply.getName());
                     financingFromInvestorsNotice.setLimitStatus(limit.getName());
+                    financingFromInvestorsNotice.setRepaymentAccount(financingFromInvestors.getRepaymentAccount());
+                    financingFromInvestorsNotice.setRepaymentAccountType(financingFromInvestors.getRepaymentAccountType());
+                    financingFromInvestorsNotice.setRepaymentAccountName(financingFromInvestors.getRepaymentAccountName());
                     BusinessHistoricDetailVo back = new BusinessHistoricDetailVo();
                     back.setFormBusinessName("苏商银行回调");
                     BusinessProcessingLogVo businessProcessingLogBack = new BusinessProcessingLogVo();