ShipmentService.java
937 Bytes
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
package com.huaheng.robot.shipment;
import com.huaheng.robot.https.ApiResponse;
import com.huaheng.robot.https.HttpConstant;
import java.util.List;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
import rx.Observable;
public interface ShipmentService {
/**
* 自动配盘
* @param body
* @return
*/
@POST(HttpConstant.AUTO_SHIPMENT)
Observable<ApiResponse<List<Integer>>> autoShipment(@Body RequestBody body);
/**
* 生成出库任务
* @param body
* @return
*/
@POST(HttpConstant.CREATE_SHIP_TASK)
Observable<ApiResponse<List<Integer>>> createShipTask(@Body RequestBody body);
/**
* 执行任务列表
* @param body
* @return
*/
@POST(HttpConstant.EXECUTE_TASK_LIST)
Observable<ApiResponse<String>> executeList(@Body RequestBody body);
}