Browse Source

feat(资方管理):文件

Wangyafan 6 months ago
parent
commit
193d9a42c6

+ 1 - 2
src/main/java/com/sunxung/factoring/service/fundmanagement/impl/FinancialInstitutionServiceImpl.java

@@ -1173,10 +1173,9 @@ public class FinancialInstitutionServiceImpl extends ServiceImpl<FinancialInstit
                     contractFileList.add(fileStorageDO);
                 }
             }
-            FileModuleDict.ChildEnum childEnum = FileModuleDict.ChildEnum.FINANCIAL_EXPENDITURE_ATTACHMENT_FILE;
             if (CollectionUtil.isNotEmpty(contractFileList)) {
                 contractFileList.forEach(contractFile -> {
-                    sysAttachmentRefService.copyFile(contractFile, FileModuleDict.ChildEnum.FINANCIAL_EXPENDITURE_DOWNSTREAM_SETTLEMENT_FILE,
+                    sysAttachmentRefService.copyFile(contractFile, FileModuleDict.ChildEnum.FINANCIAL_EXPENDITURE_ATTACHMENT_FILE,
                             AttachmentDto.builder().setEntityId(customerExpenditureInfoId).build());
                 });
             }