文档库--带文件导出

This commit is contained in:
zhn
2022-02-27 11:21:05 +08:00
parent 6cd7d38c7f
commit ed4ce0bcb1
2 changed files with 135 additions and 69 deletions
@@ -138,7 +138,7 @@ public class OSSFileServiceImpl extends ServiceImpl<OSSFileMapper, OSSFile> impl
public List<OSSFile> getFileInfosByConnectId(String connectId) {
LambdaQueryWrapper<OSSFile> wrapper = new LambdaQueryWrapper<>();
if(connectId.contains(",")){
wrapper.eq(OSSFile::getConnectId, Arrays.asList(connectId.split(",")));
wrapper.in(OSSFile::getConnectId, Arrays.asList(connectId.split(",")));
}else{
wrapper.eq(OSSFile::getConnectId,connectId);
}