package com.YuyeTech.HeartRate.sys.sysusermenu.service;

import com.YuyeTech.HeartRate.common.pojo.Result;
import com.YuyeTech.HeartRate.common.service.CommonService;
import com.YuyeTech.HeartRate.sys.sysmenu.vo.SysMenuVo;
import com.YuyeTech.HeartRate.sys.sysusermenu.pojo.SysUserMenu;
import com.YuyeTech.HeartRate.sys.sysusermenu.vo.SysUserMenuVo;

import java.util.List;

public interface SysUserMenuService extends CommonService<SysUserMenuVo, SysUserMenu, String> {
    Result<List<SysMenuVo>> findByUserId(String userId);

    Result<Boolean> saveAllByUserId(String userId, String menuIdList);
}
