|
@@ -497,8 +497,7 @@ public class AdminUserServiceImpl implements AdminUserService {
|
|
|
Set<Long> roleIds = new HashSet<>();
|
|
|
|
|
|
// 查询商户管理员的ID
|
|
|
- RoleDO shanghuAdmin = roleMapper.selectOne(new LambdaQueryWrapper<RoleDO>().eq(RoleDO::getCode, "shanghu_admin")
|
|
|
- .eq(RoleDO::getCategoryId, 3));
|
|
|
+ RoleDO shanghuAdmin = roleMapper.selectOne(new LambdaQueryWrapper<RoleDO>().eq(RoleDO::getCode, "shanghu_admin"));
|
|
|
|
|
|
if (shanghuAdmin != null) {
|
|
|
roleIds.add(shanghuAdmin.getId());
|