Commit c9c13b5b authored by fangxinjiang's avatar fangxinjiang

角色 优化

parent 4b3631c8
......@@ -205,6 +205,7 @@ public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> impl
}
private LambdaQueryWrapper buildCheckQueryWrapper(SysRole sysRole, String type) {
LambdaQueryWrapper<SysRole> wrapper = Wrappers.lambdaQuery();
wrapper.eq(SysRole::getDelFlag,CommonConstants.ZERO_STRING);
if (Common.isNotNull(sysRole.getRoleId())){
wrapper.ne(SysRole::getRoleId,sysRole.getRoleId());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment