Commit 5eba1bd0 authored by yuanshuo's avatar yuanshuo

2024/12/17接口修改

/system/user/list添加一个空判断
parent c0830b0f
......@@ -80,8 +80,10 @@ public class SysUserServiceImpl implements ISysUserService
@DataScope(deptAlias = "d", userAlias = "u")
public List<SysUser> selectUserList(SysUser user)
{
if(user.getDeptId() == 100){
return userMapper.selectUserListNew(user);
if (user.getDeptId() != null){
if(user.getDeptId() == 100){
return userMapper.selectUserListNew(user);
}
}
return userMapper.selectUserList(user);
}
......
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