package com.willalp.canteen.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.willalp.canteen.domain.HsCanteenMenuCustom;

/**
 * 自由消费定制菜单Service接口
 *
 * @author songyu
 * @date 2021-12-15
 */
public interface IHsCanteenMenuCustomService extends IService<HsCanteenMenuCustom>
{
    /**
     * 查询自由消费定制菜单
     *
     * @param customId 自由消费定制菜单主键
     * @return 自由消费定制菜单
     */
    public HsCanteenMenuCustom selectHsCanteenMenuCustomByCustomId(Long customId);

    /**
     * 查询自由消费定制菜单列表
     *
     * @param hsCanteenMenuCustom 自由消费定制菜单
     * @return 自由消费定制菜单集合
     */
    public List<HsCanteenMenuCustom> selectHsCanteenMenuCustomList(HsCanteenMenuCustom hsCanteenMenuCustom);

    /**
     * 新增自由消费定制菜单
     *
     * @param hsCanteenMenuCustom 自由消费定制菜单
     * @return 结果
     */
    public int insertHsCanteenMenuCustom(HsCanteenMenuCustom hsCanteenMenuCustom);

    /**
     * 修改自由消费定制菜单
     *
     * @param hsCanteenMenuCustom 自由消费定制菜单
     * @return 结果
     */
    public int updateHsCanteenMenuCustom(HsCanteenMenuCustom hsCanteenMenuCustom);

    /**
     * 批量删除自由消费定制菜单
     *
     * @param customIds 需要删除的自由消费定制菜单主键集合
     * @return 结果
     */
    public int deleteHsCanteenMenuCustomByCustomIds(Long[] customIds);

    /**
     * 删除自由消费定制菜单信息
     *
     * @param customId 自由消费定制菜单主键
     * @return 结果
     */
    public int deleteHsCanteenMenuCustomByCustomId(Long customId);
}
