package com.willalp.canteen.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.willalp.canteen.domain.HsCanteenCuisine;
import com.willalp.canteen.mapper.HsCanteenCuisineMapper;
import com.willalp.canteen.service.IHsCanteenCuisineService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * cuisineService业务层处理
 *
 * @author songyu
 * @date 2021-11-25
 */
@Service
public class HsCanteenCuisineServiceImpl extends ServiceImpl<HsCanteenCuisineMapper, HsCanteenCuisine>  implements IHsCanteenCuisineService
{
    @Autowired
    private HsCanteenCuisineMapper hsCanteenCuisineMapper;

    /**
     * 查询cuisine列表
     *
     * @param hsCanteenCuisine cuisine
     * @return cuisine
     */
    @Override
    public List<HsCanteenCuisine> selectHsCanteenCuisineList(HsCanteenCuisine hsCanteenCuisine)
    {
        return hsCanteenCuisineMapper.selectHsCanteenCuisineList(hsCanteenCuisine);
    }


    @Override
    public List<HsCanteenCuisine> selectRegList(Map map) {
        return hsCanteenCuisineMapper.selectRegList(map);
    }

    @Override
    public List<HsCanteenCuisine> menuItemsWithPictures(Map map) {
        return hsCanteenCuisineMapper.menuItemsWithPictures(map);
    }
}
