TaskHeaderService.java
2.6 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
package com.huaheng.pc.task.taskHeader.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huaheng.framework.web.domain.AjaxResult;
import com.huaheng.pc.task.taskHeader.domain.MobileTask;
import com.huaheng.pc.task.taskHeader.domain.ShipmentTaskCreateModel;
import com.huaheng.pc.task.taskHeader.domain.TaskHeader;
import java.util.List;
public interface TaskHeaderService extends IService<TaskHeader>{
AjaxResult createTaskFromShipmentContainers(ShipmentTaskCreateModel shipmentTaskCreateModel) ;
AjaxResult<TaskHeader> sendTaskToWcs(Integer[] taskIds);
AjaxResult completeTaskByWMS(Integer[] taskIds, String[] weight);
AjaxResult completeReceiptTask(TaskHeader task) throws Exception;
/**
* 移动端创建入库任务
* @param containerCode 容器编码
* @param sourceLocation 目的库位
* @return
*/
AjaxResult mobileCreateReceiptTask(String containerCode, String sourceLocation);
// List<Map<String, Object>> getReceiptTask(@Param("taskId") Integer taskId);
/**
* 创建移库任务
* @param sourceLocation
* @param destinationLocation
* @return
*/
AjaxResult createTransferTask(String sourceLocation, String destinationLocation);
AjaxResult createCheckOutTask(String[] ids);
/**
* 完成
* 出库查看
* 更新状态即可
*/
AjaxResult completeSeeOutTask(TaskHeader taskHeader);
AjaxResult completeCycleCountTask(TaskHeader taskHeader);
AjaxResult createReceiptTask(List<Integer> ids);
void completeShipmentTask(TaskHeader task) ;
Integer UncompleteCount(String containerCode);
AjaxResult cancelTask(Integer[] taskIds) ;
/**
* 创建空托入库
* @param containerCode 容器编码
* @param destinationLocation 目的库位
* @param companyCode 货主编码
* @return
*/
AjaxResult createEmptyIn(String containerCode, String destinationLocation, String companyCode);
/**
* 容器收货上架
* @param containerCode
* @return
*/
AjaxResult createQuickTask(String containerCode);
List<TaskHeader> preferenceRealize (List<TaskHeader> taskHeaderList);
List<TaskHeader> getTasksStatus(Short lastStatus);
/**
* 根据库位完成任务
* @param locationCode
* @return
* @throws Exception
*/
AjaxResult completeTask(String locationCode) throws Exception;
AjaxResult createReplenishTask(String containerCode, Short taskStatus);
List<MobileTask> mobileFindTransferTask(String containerCode);
AjaxResult completeEmptyOut(TaskHeader taskHeader);
}