package com.shkj.wms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shkj.wms.domain.BusinDataTaskGoods;
import com.shkj.wms.vo.BusinDataTaskGoodsVo;

import java.util.List;

/**
 * 任务物料替换明细Service接口
 *
 * @author zjx
 * @date 2023-04-07
 */
public interface IBusinDataTaskGoodsService extends IService<BusinDataTaskGoods> {
    /**
     * 查询任务物料替换明细
     *
     * @param id 任务物料替换明细主键
     * @return 任务物料替换明细
     */
    public BusinDataTaskGoods selectBusinTaskGoodsById(Long id);


    /**
     * 根据任务ID获取入库物料明细
     *
     * @param  taskId
     * @return 物料明细
     */
    public List<BusinDataTaskGoodsVo> selectBusinTaskGoodsByTaskCode(Long taskId);


    /**
     * 根据任务ID获取出库库物料明细
     *
     * @param  taskId
     * @return 物料明细
     */
    public List<BusinDataTaskGoodsVo> getTaskGoodsByTaskCodeForOut(Long taskId);
}
