66 lines
1.8 KiB
Java
Raw Normal View History

2025-03-10 13:46:51 +08:00
package com.cim.idm.service;
import com.cim.idm.exception.GlobalException;
2025-04-23 15:01:17 +08:00
import com.cim.idm.framework.data.EventInfo;
2025-03-10 13:46:51 +08:00
import com.cim.idm.model.OutStockDto;
2025-04-23 15:01:17 +08:00
import com.cim.idm.utils.AjaxResult;
2025-03-10 13:46:51 +08:00
2025-04-23 15:01:17 +08:00
import java.util.LinkedHashMap;
import java.util.List;
2025-03-10 13:46:51 +08:00
import java.util.Map;
public interface IMaterialShipService {
/**
* 出库方法
* @param outStockDto
* @return
* @throws Throwable
*/
Map<String, Object> outStock(OutStockDto outStockDto) throws Throwable;
/**
* 取消出库方法
* @param outStockDto
* @return
* @throws Throwable
*/
Map<String, Object> cancle(OutStockDto outStockDto) throws Throwable;
/**
* 出库前校验
* @param outStockDto
*/
String outStockCheck(OutStockDto outStockDto) throws GlobalException;
2025-04-23 15:01:17 +08:00
/**
*辅材出库确认备货
* @param eventInfo 事件信息
* @param siteName 现地
* @param shipRequestName 单号
* @param boxList 出库的物料信息
* @return 返回信息
*/
AjaxResult MaterialShipRequestAuxiliaryConfirmStocking(EventInfo eventInfo, String siteName, String shipRequestName, String user, List<LinkedHashMap<String,String>> boxList);
/**
*辅材出库过账
* @param eventInfo 事件信息
* @param siteName 现地
* @param shipRequestName 单号
* @param boxList 出库的物料信息
* @return 返回信息
*/
AjaxResult MaterialShipRequestAuxiliaryStockOut(EventInfo eventInfo, String siteName, String shipRequestName, String user, List<LinkedHashMap<String,String>> boxList, String commitDate)throws Exception;
2025-04-23 15:34:19 +08:00
/**
*辅材出库取下确认备货
* @param eventInfo 事件信息
* @param siteName 现地
* @param shipRequestName 单号
* @return 返回信息
*/
AjaxResult MaterialShipRequestAuxiliaryCancelConfirmStocking(EventInfo eventInfo, String siteName, String shipRequestName, String user);
2025-04-23 15:01:17 +08:00
2025-03-10 13:46:51 +08:00
}