package com.sunda.spmsoversea.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sunda.spmsoversea.entity.OverseaWhsOutDtl;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 出库任务表明细 服务类
 * </p>
 *
 * @author Wayne
 * @since 2021-09-22
 */
public interface IOverseaWhsOutDtlService extends IService<OverseaWhsOutDtl> {

    /** 根据出库任务UUID获取出库任务明细 */
    List<OverseaWhsOutDtl> getOverseaWhsOutDtlList(String uuidWhsOut);

    /** 根据出库任务UUID获取出库任务明细 */
    List<Map<String, Object>> getOverseaWhsOutDtlListMap(String uuidWhsOut);

    /** 根据出库任务明细创建一条出库任务明细数据 */
    int createOverseaWhsOutDtl(OverseaWhsOutDtl overseaWhsOutDtl);

    /** 根据出库任务UUID和行号，查询一条出库任务明细数据 */
    OverseaWhsOutDtl getWhsOutDtl(String uuidWhsOut, Integer item);

    /** 更新出库任务明细一行数据 */
    int updateWhsOutDtl(OverseaWhsOutDtl overseaWhsOutDtl);
}
