Commit a2c8aede by xmh

<feature> 非管理员用户无法看到管理员账号

1 parent 4cd5b5a4
......@@ -33,6 +33,7 @@ public class UserController extends UserBaseController {
if (!currentUser.getType().equals(0)) {
Long accountId = currentUser.getAccountId();
userVo.setAccountId(accountId);
userVo.setType_gt(0);
}
UserExample example = (UserExample) super.getExample(userVo, type);
example.createColumns().hasCreateTimeColumn().hasCreateUserColumn().hasIdColumn().hasAccountIdColumn().hasLastLoginTimeColumn().hasNameColumn()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!