|
|
@ -172,7 +172,7 @@ public class AdminService { |
|
|
|
MatrixAdmin admin = adminMapper.selectById(adminId); |
|
|
|
LambdaQueryWrapper<MatrixAdmin> query = Wrappers.lambdaQuery(); |
|
|
|
|
|
|
|
if (admin.getRole() == SUPER_ADMIN) { |
|
|
|
if (admin.getRole() == SUPER_ADMIN || admin.getRole() == NORMAL_ADMIN) { |
|
|
|
query.eq(MatrixAdmin::getChannel, channel); |
|
|
|
} else { |
|
|
|
query.eq(MatrixAdmin::getChannel, channel); |
|
|
|