fix 接口
This commit is contained in:
@@ -66,7 +66,7 @@ public class CreateTaskRequest extends BaseRequest {
|
|||||||
/**
|
/**
|
||||||
* 扩展属性
|
* 扩展属性
|
||||||
*/
|
*/
|
||||||
Map<String,String> params = new HashMap<>();
|
Map params = new HashMap<>();
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
|||||||
@@ -473,7 +473,7 @@ public class WmsToAcsServiceImpl implements WmsToAcsService {
|
|||||||
String vehicle_type = req.getVehicle_type();
|
String vehicle_type = req.getVehicle_type();
|
||||||
String task_type = req.getTask_type();
|
String task_type = req.getTask_type();
|
||||||
String remark = req.getRemark();
|
String remark = req.getRemark();
|
||||||
Map<String, String> params = req.getParams();
|
// Map<String, String> params = req.getParams();
|
||||||
String start_height = StrUtil.isBlank(req.getStart_height()) ? "0" : req.getStart_height();
|
String start_height = StrUtil.isBlank(req.getStart_height()) ? "0" : req.getStart_height();
|
||||||
String next_height = StrUtil.isBlank(req.getNext_height()) ? "0" : req.getNext_height();
|
String next_height = StrUtil.isBlank(req.getNext_height()) ? "0" : req.getNext_height();
|
||||||
|
|
||||||
@@ -575,7 +575,6 @@ public class WmsToAcsServiceImpl implements WmsToAcsService {
|
|||||||
jo.put("vehicle_type", vehicle_type);
|
jo.put("vehicle_type", vehicle_type);
|
||||||
jo.put("agv_system_type", "1");
|
jo.put("agv_system_type", "1");
|
||||||
jo.put("remark", remark);
|
jo.put("remark", remark);
|
||||||
jo.put("params", params);
|
|
||||||
jo.put("task_type", StrUtil.isEmpty(task_type) ? 1 : Integer.parseInt(task_type));
|
jo.put("task_type", StrUtil.isEmpty(task_type) ? 1 : Integer.parseInt(task_type));
|
||||||
jo.put("start_height", start_height);
|
jo.put("start_height", start_height);
|
||||||
jo.put("next_height", next_height);
|
jo.put("next_height", next_height);
|
||||||
|
|||||||
Reference in New Issue
Block a user