package com.willalp.canteen.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import com.willalp.canteen.domain.HsCanteenScck;

/**
 * 食材出库Mapper接口
 *
 * @author songyu
 * @date 2021-11-26
 */
public interface HsCanteenScckMapper extends BaseMapper<HsCanteenScck>
{
    /**
     * 查询食材出库
     *
     * @param recordId 食材出库主键
     * @return 食材出库
     */
    public HsCanteenScck selectHsCanteenScckByRecordId(String recordId);

    /**
     * 查询食材出库列表
     *
     * @param hsCanteenScck 食材出库
     * @return 食材出库集合
     */
    public List<HsCanteenScck> selectHsCanteenScckList(HsCanteenScck hsCanteenScck);

    /**
     * 新增食材出库
     *
     * @param hsCanteenScck 食材出库
     * @return 结果
     */
    public int insertHsCanteenScck(HsCanteenScck hsCanteenScck);

    /**
     * 修改食材出库
     *
     * @param hsCanteenScck 食材出库
     * @return 结果
     */
    public int updateHsCanteenScck(HsCanteenScck hsCanteenScck);

    /**
     * 删除食材出库
     *
     * @param recordId 食材出库主键
     * @return 结果
     */
    public int deleteHsCanteenScckByRecordId(String recordId);

    /**
     * 批量删除食材出库
     *
     * @param recordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHsCanteenScckByRecordIds(String[] recordIds);
}
