This commit is contained in:
s2042968 2025-03-06 13:50:17 +08:00
commit f05803432f
1 changed files with 4 additions and 1 deletions

View File

@ -220,7 +220,10 @@ public class CommonService {
} }
if (DataOwnEnum.isPrjCode(dataOwnCode)) { if (DataOwnEnum.isPrjCode(dataOwnCode)) {
queryWrapper.eq(EdFileInfo::getDataStatus, EleDataStatusEnum.PUBLISHED.code).in(EdFileInfo::getId, prjIds); queryWrapper.eq(EdFileInfo::getDataStatus, EleDataStatusEnum.PUBLISHED.code);
if (CollUtil.isNotEmpty(prjIds)) {
queryWrapper.in(EdFileInfo::getId, prjIds);
}
} }
List<String> ids = edFileInfoMapper.selectList(queryWrapper).stream().map(EdFileInfo::getId).collect(Collectors.toList()); List<String> ids = edFileInfoMapper.selectList(queryWrapper).stream().map(EdFileInfo::getId).collect(Collectors.toList());
List<String> projectVOS = new ArrayList<>(); List<String> projectVOS = new ArrayList<>();