bug修改。

This commit is contained in:
Renpc-kilig 2023-02-17 18:03:07 +08:00
parent 9cf48abc5a
commit d1cde06e49

View File

@ -416,7 +416,7 @@ public class FileUploadServiceImpl extends DefaultBaseService implements IFileUp
fileUploadDTO.setCatalogueType("公共文档");
}
fileUploadDTOList.addAll(list);
}else {
} else if (null == token) {
fileUploadDTOList = new ArrayList<>();
FileUploadDTO fileUploadDTO = new FileUploadDTO();
fileUploadDTO.setOperationRole("0");
@ -436,6 +436,7 @@ public class FileUploadServiceImpl extends DefaultBaseService implements IFileUp
fileUploadDTOList.add(fileUploadDTO);
}
if (null == token) {
if (null == fileUploadDTOList || fileUploadDTOList.size() < 1) {
fileUploadDTOList = new ArrayList<>();
FileUploadDTO fileUploadDTO = new FileUploadDTO();
@ -456,6 +457,7 @@ public class FileUploadServiceImpl extends DefaultBaseService implements IFileUp
fileUploadDTOList.add(fileUploadDTO);
}
}
}
if("共享文档".equals(typeBelong)) {
String fileUploadIds = null == params.get("fileUploadId") ? null: params.get("fileUploadId").toString();