Przeglądaj źródła

Merge branch 'dev1.0'

liutao 6 miesięcy temu
rodzic
commit
556ae90741

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

@@ -768,8 +768,7 @@ public class FinancialInstitutionServiceImpl extends ServiceImpl<FinancialInstit
                 if (CollectionUtil.isNotEmpty(settlementBasicInfoIds)) {
                     for (Long settlementBasicInfoId : settlementBasicInfoIds) {
                         //上游结算单
-                        List<FileStorage> upstreamFileList = sysAttachmentRefService.getFiles(AttachmentDto.builder().setChildEnum(FileModuleDict.ChildEnum.SETTLEMENT_UPSTREAM_UNSIGNED_FILE)
-                                .setEntityId(settlementBasicInfoId).build());
+                        List<FileStorageDO> upstreamFileList = fileService.findByBusinessId(settlementBasicInfoId, FileModuleDict.ChildEnum.SETTLEMENT_UPSTREAM_SIGNED_FILE.getCode());
                         if (CollectionUtil.isNotEmpty(upstreamFileList)) {
                             upstreamFileList.stream().forEach(u -> {
                                 sysAttachmentRefService.copyFile(u, FileModuleDict.ChildEnum.FINANCIAL_EXPENDITURE_UPSTREAM_SETTLEMENT_FILE,