ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/AppUserShopController.java
@@ -59,9 +59,10 @@ if(null != appUserShop.getShopId()){ wrapper.eq(AppUserShop::getShopId, appUserShop.getShopId()); } if(null != appUserShop.getRoleType()){ wrapper.eq(AppUserShop::getRoleType, appUserShop.getRoleType()); } appUserShopService.remove(wrapper); //删除用户绑定门店数据 appUserService.update(new LambdaUpdateWrapper<AppUser>().eq(AppUser::getShopId, appUserShop.getShopId()).set(AppUser::getShopId, null)); return R.ok(); }