|
@@ -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,
|