默认初始化页面权限修改
This commit is contained in:
@@ -68,7 +68,7 @@ public class ShopStaffPagePermissionServiceImpl extends ServiceImpl<ShopStaffPag
|
||||
});
|
||||
Set<Long> collect = map.values().stream().map(ShopStaffPagePermission::getId).collect(Collectors.toSet());
|
||||
if (!collect.isEmpty()) {
|
||||
updateChain().set(ShopStaffPagePermission::getIsUse, 0).in(ShopStaffPagePermission::getId, collect);
|
||||
updateChain().set(ShopStaffPagePermission::getIsUse, 0).in(ShopStaffPagePermission::getId, collect).update();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user