fix 接口

This commit is contained in:
USER-20220102CG\noblelift
2023-04-23 18:46:40 +08:00
parent 380ad3fda4
commit 22d9e39933
2 changed files with 2 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ public class CreateTaskRequest extends BaseRequest {
/**
* 扩展属性
*/
Map<String,String> params = new HashMap<>();
Map params = new HashMap<>();
@Override
public String toString() {

View File

@@ -473,7 +473,7 @@ public class WmsToAcsServiceImpl implements WmsToAcsService {
String vehicle_type = req.getVehicle_type();
String task_type = req.getTask_type();
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 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("agv_system_type", "1");
jo.put("remark", remark);
jo.put("params", params);
jo.put("task_type", StrUtil.isEmpty(task_type) ? 1 : Integer.parseInt(task_type));
jo.put("start_height", start_height);
jo.put("next_height", next_height);