package com.willalp.canteen.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.willalp.canteen.domain.HsCanteenMenuRegister;
import com.willalp.canteen.domain.resp.OrderPaginatedListResq;
import com.willalp.canteen.domain.resp.CuisineListResp;

import java.util.List;

/**
 * 菜单登记Service接口
 *
 * @author songyu
 * @date 2021-11-29
 */
public interface IHsCanteenMenuRegisterService extends IService<HsCanteenMenuRegister> {
    /**
     * 查询菜单登记列表
     *
     * @param hsCanteenMenuRegister 菜单登记
     * @return 菜单登记集合
     */
    List<HsCanteenMenuRegister> selectHsCanteenMenuRegisterList(HsCanteenMenuRegister hsCanteenMenuRegister);

    /**
     * 查询菜单登记列表(包含下单数量)
     *
     * @param hsCanteenMenuRegister 菜单登记
     * @return 菜单登记集合
     */
    List<HsCanteenMenuRegister> selectRegisterStockList(HsCanteenMenuRegister hsCanteenMenuRegister);

    /**
     * 查询菜单登记列表
     *
     * @param hsCanteenMenuRegister 菜单登记
     * @param pageNum
     * @param pageSize
     * @return 菜单登记集合
     */
    List<CuisineListResp> selectCuisineList(HsCanteenMenuRegister hsCanteenMenuRegister, Integer pageNum, Integer pageSize);

    OrderPaginatedListResq appGetDeviceOrderMenu(String deviceNo, Integer pageNum, Integer pageSize);


}
