2025-03-21 13:36:45 +08:00
|
|
|
package com.cim.idm.dao;
|
|
|
|
|
|
|
|
import com.cim.idm.framework.data.EventInfo;
|
|
|
|
import com.cim.idm.model.ToSAPFgStockInDto;
|
|
|
|
import com.cim.idm.wmspackage.materialpacking.management.data.MaterialPacking;
|
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
@Component
|
|
|
|
@Mapper
|
|
|
|
public interface ToSapDao {
|
|
|
|
|
|
|
|
//通过箱号集合获取要成品入库的信息
|
|
|
|
public List<ToSAPFgStockInDto> getFgStockInInfo(@Param("boxList") List<MaterialPacking> boxList) throws Exception;
|
|
|
|
|
|
|
|
//基于boxList更新物料凭证及库存状态
|
|
|
|
public void updateStockState(@Param("boxList") List<MaterialPacking> boxList,@Param("stockState") String stockState,@Param("undoId") String undoId) throws Exception;
|
|
|
|
|
|
|
|
//基于boxList写入过账流水表
|
|
|
|
public void saveUnDoInfo(@Param("boxList") List<MaterialPacking> boxList, @Param("unDoID") String unDoID, @Param("commitDate") String commitDate) throws Exception;
|
2025-03-24 14:40:15 +08:00
|
|
|
|
|
|
|
//基于出库单查询要操作的Box集合
|
|
|
|
public List<MaterialPacking> getBoxListByShipRequestName(@Param("shipRequestName") String shipRequestName) throws Exception;
|
2025-03-21 13:36:45 +08:00
|
|
|
}
|