package yangtz.cs.liu.campus.mapper.menuFunction;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import yangtz.cs.liu.campus.domain.menuFunction.MenuFunction;

import java.util.List;

@Mapper
public interface MenuFunctionMapper extends BaseMapper<MenuFunction> {



    int deleteByUserId(Long userId);

    int insertMenuFunction(@Param("list") List<MenuFunction> list);
}
