소스 검색

feat(资方管理):文件

Wangyafan 6 달 전
부모
커밋
193d9a42c6
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/main/java/com/sunxung/factoring/service/fundmanagement/impl/FinancialInstitutionServiceImpl.java

+ 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());
                 });
             }