psh 7 months ago
parent
commit
b1ea92b9f4
  1. 4
      acs/nladmin-system/nlsso-server/src/main/java/org/nl/acs/device_driver/basedriver/ssx_site/SsxSiteDeviceDriver.java
  2. 2
      lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/KJRKTask.java
  3. 2
      lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/SSXBKJTask.java

4
acs/nladmin-system/nlsso-server/src/main/java/org/nl/acs/device_driver/basedriver/ssx_site/SsxSiteDeviceDriver.java

@ -443,11 +443,11 @@ public class SsxSiteDeviceDriver extends AbstractOpcDeviceDriver implements Devi
} }
String resp = acsToWmsService.applyTask(request); String resp = acsToWmsService.applyTask(request);
JSONObject res_jo = JSONObject.parseObject(resp); JSONObject res_jo = JSONObject.parseObject(resp);
// if (StrUtil.equals(res_jo.getString("code"), "200")) { if (StrUtil.equals(res_jo.getString("code"), "200")) {
this.writing(type); this.writing(type);
this.setRequireSucess(true); this.setRequireSucess(true);
log.info("acs申请任务", this.devicecode, "任务申请成功!"); log.info("acs申请任务", this.devicecode, "任务申请成功!");
// } }
return true; return true;
} }
} }

2
lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/KJRKTask.java

@ -83,7 +83,7 @@ public class KJRKTask extends AbstractTask {
task.setRemark("未找到所需点位!"); task.setRemark("未找到所需点位!");
taskService.update(task); taskService.update(task);
// 消息通知 // 消息通知
log.info("原材料入库未找到当前符合条件的点位!"); log.info("空架入库未找到当前符合条件的点位!");
continue; continue;
} }
// 设置终点并修改创建成功状态 // 设置终点并修改创建成功状态

2
lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/SSXBKJTask.java

@ -87,7 +87,7 @@ public class SSXBKJTask extends AbstractTask {
continue; continue;
} }
// 设置终点并修改创建成功状态 // 设置终点并修改创建成功状态
task.setPoint_code2(point.getPoint_code()); task.setPoint_code1(point.getPoint_code());
task.setTask_status(TaskStatus.CREATED.getCode()); task.setTask_status(TaskStatus.CREATED.getCode());
task.setRemark(""); task.setRemark("");
taskService.update(task); taskService.update(task);

Loading…
Cancel
Save