查询用户在法规、认证清单查询角色时增加模块类型区分。
This commit is contained in:
+1
@@ -111,6 +111,7 @@ public class ProjectLibraryRoleRelEOServiceImpl extends ServiceImpl<ProjectLibra
|
|||||||
QueryWrapper<ProjectLibraryRoleRelEO> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<ProjectLibraryRoleRelEO> queryWrapper = new QueryWrapper<>();
|
||||||
queryWrapper.lambda().eq(ProjectLibraryRoleRelEO::getProjectLibraryId,params.get("projectLibraryId").toString());
|
queryWrapper.lambda().eq(ProjectLibraryRoleRelEO::getProjectLibraryId,params.get("projectLibraryId").toString());
|
||||||
queryWrapper.lambda().eq(ProjectLibraryRoleRelEO::getUserId,params.get("userId").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);
|
List<ProjectLibraryRoleRelEO> projectLibraryRoleRelEOS = this.baseMapper.selectList(queryWrapper);
|
||||||
if(CollectionUtils.isNotEmpty(projectLibraryRoleRelEOS)){
|
if(CollectionUtils.isNotEmpty(projectLibraryRoleRelEOS)){
|
||||||
result = projectLibraryRoleRelEOS.get(0);
|
result = projectLibraryRoleRelEOS.get(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user