ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/service/impl/AppUserServiceImpl.java
@@ -520,10 +520,15 @@ List<Shop> shopList = shopClient.getShopByUserId(userId).getData(); user.setShopStatus(0);//未拥有门店 if (shopList != null && !shopList.isEmpty()) { user.setShopStatus(2);//门店都被冻结 for (Shop shop : shopList) { if (shop.getStatus()==1) { user.setShopStatus(1);//门店状态 } if(null==user.getShopIds()){ Set<Integer> integers = new HashSet<>(); user.setShopIds(integers); } user.getShopIds().add(shop.getId()); user.setShopIds(user.getShopIds());