package com.jeesharp.business.modules.food.mapper;

import com.jeesharp.business.modules.food.entity.FoodMealOrderItem;
import com.jeesharp.business.modules.food.vo.FoodMealHotItemQueryVO;
import com.jeesharp.business.modules.food.vo.FoodMealHotItemVO;
import com.jeesharp.business.modules.food.vo.FoodMealOrderItemQueryVO;
import com.jeesharp.framework.mybatis.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FoodMealOrderItemMapper extends BaseMapper<FoodMealOrderItem, FoodMealOrderItemQueryVO> {

    List<FoodMealHotItemVO> selectHotItems(@Param("query") FoodMealHotItemQueryVO query,
                                           @Param("tenantCode") String tenantCode,
                                           @Param("limit") Integer limit);
}
