added: 管理员锁定的拦截

This commit is contained in:
none
2023-02-17 14:15:50 +08:00
parent bd5cf234f1
commit aed4c60296
5 changed files with 35 additions and 5 deletions

View File

@@ -37,6 +37,12 @@ public class AdminUserServiceImpl extends ServiceImpl<AdminUserMapper, AdminUser
return this.getBaseMapper().selectOne(queryWrapper);
}
@Override
public AdminUser findById(Integer id) {
QueryWrapper<AdminUser> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("id", id);
return this.getBaseMapper().selectOne(queryWrapper);
}
}