Browse Source

fix 接口

master
汪菘 2 years ago
parent
commit
22d9e39933
  1. 2
      acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/data/CreateTaskRequest.java
  2. 3
      acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/WmsToAcsServiceImpl.java

2
acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/data/CreateTaskRequest.java

@ -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() {

3
acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/WmsToAcsServiceImpl.java

@ -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);

Loading…
Cancel
Save