MesService.java
1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package com.huaheng.api.mes.service;
import com.huaheng.api.mes.domain.*;
import com.huaheng.framework.web.domain.AjaxResult;
import com.huaheng.framework.web.domain.AjaxResultMES;
import com.huaheng.pc.inventory.inventoryDetail.domain.InventoryDetail;
import java.util.List;
public interface MesService {
AjaxResult receiptOrder(MesOrder mesOrder);
/**
* 创建出库单
*
* @param mesOrder MES出库单
* @return 操作结果
*/
AjaxResult shipmentOrder(MesShipmentOrder mesOrder);
AjaxResult shipmentProduct(MesShipmentProduct mesShipmentProduct);
AjaxResult receipt(MesReceipt mesReceipt);
AjaxResult shipment(MesShipment mesShipment);
AjaxResultMES searchInventory(MesSearch mesSearch);
AjaxResult workOrder(MesWorkOrder workOrder);
AjaxResult backShipment(String taskHeaderId);
AjaxResult backReceipt(String id);
AjaxResult backEmpty(String id);
AjaxResult backChangeStation(String taskId);
/**
* 锁定/冻结 原材料库存
* @param inventoryList 库存
* @param mesOrderMaterial 领料单物料
* @param mesShipmentOrder 领料单
* @return 冻结库存
*/
List<InventoryDetail> lockRawInventory(List<InventoryDetail> inventoryList,
MesOrderMaterial mesOrderMaterial,
MesShipmentOrder mesShipmentOrder);
}