package com.sunda.spmswms.service;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sunda.spmscommon.ResponseResult;
import com.sunda.spmswms.entity.WhsOtherUnloadDtl;

import java.util.List;

/**
 * <p>
 * 卸货入库明细表 服务类
 * </p>
 *
 * @author
 * @since
 */
public interface IWhsOtherUnloadDtlService extends IService<WhsOtherUnloadDtl> {
    /**更新或创建WhsOther Dtl
     * 以uuid及rowId为key，存在则更新，不存在则新建
     **/
    ResponseResult updateWhsOtherDtl(String uuid, JSONArray whsOtherDtl);

    /**获取行项*/
    ResponseResult getWhsOtherDtl(String uuid);

    /** baseMapper 获取其他出入库明细 */
    List<WhsOtherUnloadDtl> getWhsOtherDtlList(String uuid);
}
