forked from gzzfw/backEnd/gz-dyh

zhouxiantao
2024-09-14 47488a7bf69c5cdae18e80a616ec0a43e890765d
dyh-service/dyh-sys/src/main/java/cn/huge/module/file/service/FileInfoService.java
@@ -506,8 +506,8 @@
        List<FileInfoBaseDTO> fileList = new ArrayList<>();
        Map<String, Object> terms = new HashMap<>();
        terms.put("mainId", mainId);
        terms.put("types", ownerType);
        List<FileInfo> fileInfoList = mapper.listFile(terms);
        terms.put("ownerType", ownerType);
        List<FileInfo> fileInfoList = mapper.listFileByType(terms);
        if(CollectionUtils.isNotEmpty(fileInfoList)){
            for (FileInfo fileInfo : fileInfoList) {
                FileInfoBaseDTO fileInfoBaseDTO = new FileInfoBaseDTO();