package com.zbkj.service.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zbkj.common.model.home.Home;
import com.zbkj.common.request.SetMealFloorRequest;
import com.zbkj.common.request.SetMealRequest;
import com.zbkj.common.response.SetMealResponse;
import com.zbkj.common.vo.HomeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HomeDao extends BaseMapper<Home> {

    List<SetMealResponse> selectPageSetMealType(@Param("entity") SetMealRequest entity);

    List<HomeVo> selectPageSetMealFloor(@Param("entity") SetMealFloorRequest entity);

    List<HomeVo> selectHomeType(@Param("homeType") Integer homeType, @Param("storeId") Integer storeId);

}
