优化查询。

This commit is contained in:
chenxudong 2025-03-07 08:57:08 +08:00
parent e41ef76803
commit 7f9d2cf3bf
1 changed files with 1 additions and 0 deletions

View File

@ -212,6 +212,7 @@ public class CommonService {
LambdaQueryWrapper<EdFileInfo> queryWrapper = Wrappers.lambdaQuery(EdFileInfo.class)
.select(EdFileInfo::getId)
.eq(EdFileInfo::getEffectFlag, EffectFlagEnum.EFFECT.code)
.eq(EdFileInfo::getDataOwn, DataOwnEnum.SYS_PRJ.code)
.eq(EdFileInfo::getParentId, PRJ_PARENT_ID);
// 如果不是数据库界面查询此处需要进行权限筛选
if (querySource == PrjQuerySource.USER_INTERFACE.value) {