package com.bonus.canteen.core.menu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bonus.canteen.core.menu.domain.MenuDishesType;
import com.bonus.canteen.core.menu.domain.MenuMaterial;
import com.bonus.canteen.core.menu.dto.DrpUnitPageDTO;
import com.bonus.canteen.core.menu.dto.MenuDishesTypeEditDTO;
import com.bonus.canteen.core.menu.vo.DrpUnitPageVO;
import com.bonus.canteen.core.menu.vo.MenuDishesTypeAllVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商家食材原料信息Mapper接口
 *
 * @author xsheng
 * @date 2025-04-03
 */
public interface MenuDishesTypeMapper extends BaseMapper<MenuDishesType> {

    List<MenuDishesTypeAllVO> getAllMenuDishesTypeList();

    List<DrpUnitPageVO> selectAllList(DrpUnitPageDTO dto);

    int updateMenuDishesType(MenuDishesTypeEditDTO content);

    int delMenuDishesType(MenuDishesTypeEditDTO content);
}
