TaskHeaderService.java
1.74 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
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.config.location.domain.Location;
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<TaskHeader> sendTaskToWcs(Integer[] taskIds);
AjaxResult completeTaskByWMS(Integer[] taskIds, String[] weight);
/**
* 移动端创建入库任务
* @param containerCode 容器编码
* @param sourceLocation 目的库位
* @return
*/
AjaxResult mobileCreateReceiptTask(String containerCode, String sourceLocation);
Integer UncompleteCount(String containerCode);
AjaxResult cancelTask(Integer[] taskIds) ;
/**
* 容器收货上架
* @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, Integer taskStatus);
List<MobileTask> mobileFindTransferTask(String containerCode);
AjaxResult setLocationCode(Integer taskId, Integer high);
int getUncompleteTaskInNear(Location location);
AjaxResult createAutoEmptyOut(String warehouseCode);
public List<TaskHeader> remoteList();
}