Преглед на файлове

修改商户下的添加商品缺失的merid

Yangzw преди 6 месеца
родител
ревизия
aa48267040

+ 1 - 2
feifan-module-system/feifan-module-system-biz/src/main/java/cn/newfeifan/mall/module/system/service/user/AdminUserServiceImpl.java

@@ -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());