查询用户在法规、认证清单查询角色时增加模块类型区分。

This commit is contained in:
wangzhijiang
2023-03-07 09:22:14 +08:00
parent d6488768f8
commit 1f9a6d8e39
@@ -111,6 +111,7 @@ public class ProjectLibraryRoleRelEOServiceImpl extends ServiceImpl<ProjectLibra
QueryWrapper<ProjectLibraryRoleRelEO> queryWrapper = new QueryWrapper<>();
queryWrapper.lambda().eq(ProjectLibraryRoleRelEO::getProjectLibraryId,params.get("projectLibraryId").toString());
queryWrapper.lambda().eq(ProjectLibraryRoleRelEO::getUserId,params.get("userId").toString());
queryWrapper.lambda().eq(ProjectLibraryRoleRelEO::getModelType,params.get("modelType").toString());
List<ProjectLibraryRoleRelEO> projectLibraryRoleRelEOS = this.baseMapper.selectList(queryWrapper);
if(CollectionUtils.isNotEmpty(projectLibraryRoleRelEOS)){
result = projectLibraryRoleRelEOS.get(0);