package com.ximai.mes.wm.mapper;

import java.util.List;
import com.ximai.mes.wm.domain.WmPackageLine;

/**
 * 装箱明细Mapper接口
 *
 * @date 2022-10-11
 */
public interface WmPackageLineMapper
{
    /**
     * 查询装箱明细
     *
     * @param lineId 装箱明细主键
     * @return 装箱明细
     */
    public WmPackageLine selectWmPackageLineByLineId(Long lineId);

    /**
     * 查询装箱明细列表
     *
     * @param wmPackageLine 装箱明细
     * @return 装箱明细集合
     */
    public List<WmPackageLine> selectWmPackageLineList(WmPackageLine wmPackageLine);

    /**
     * 新增装箱明细
     *
     * @param wmPackageLine 装箱明细
     * @return 结果
     */
    public int insertWmPackageLine(WmPackageLine wmPackageLine);

    /**
     * 修改装箱明细
     *
     * @param wmPackageLine 装箱明细
     * @return 结果
     */
    public int updateWmPackageLine(WmPackageLine wmPackageLine);

    /**
     * 删除装箱明细
     *
     * @param lineId 装箱明细主键
     * @return 结果
     */
    public int deleteWmPackageLineByLineId(Long lineId);

    /**
     * 批量删除装箱明细
     *
     * @param lineIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWmPackageLineByLineIds(Long[] lineIds);
}
