Browse Source

rev:接口参数

master
gengby 1 year ago
parent
commit
0078d12371
  1. 4
      acs/nladmin-system/src/main/java/org/nl/acs/auto/run/OneNDCSocketConnectionAutoRun.java
  2. 2
      acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/AcsToWmsServiceImpl.java

4
acs/nladmin-system/src/main/java/org/nl/acs/auto/run/OneNDCSocketConnectionAutoRun.java

@ -178,10 +178,10 @@ public class OneNDCSocketConnectionAutoRun extends AbstractAutoRunnable {
if (!ObjectUtil.isEmpty(inst)) { if (!ObjectUtil.isEmpty(inst)) {
instructionService.finish(inst.getInstruction_id()); instructionService.finish(inst.getInstruction_id());
} else { } else {
log.warn("指令号:{},未反馈wms任务完成,因为agv上报指令号查询指令为空!", inst.getInstruction_code()); log.warn("指令号:{},未反馈wms任务完成,因为agv上报指令号查询指令为空!", ikey);
} }
data = NDCAgvService.sendAgvOneModeInst(phase, index, 0); data = NDCAgvService.sendAgvOneModeInst(phase, index, 0);
log.info("指令号:{},已反馈agv任务完成!", inst.getInstruction_code()); log.info("指令号:{},已反馈agv任务完成!", ikey);
} }
//进入交通灯区域 //进入交通灯区域
else if (phase == 0x50) { else if (phase == 0x50) {

2
acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/AcsToWmsServiceImpl.java

@ -571,7 +571,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
result = HttpRequest.post(url) result = HttpRequest.post(url)
.header("Content-Type", "application/json;charset=UTF-8") .header("Content-Type", "application/json;charset=UTF-8")
.header("Authorization", String.valueOf(redisUtils.get("wms_token"))) .header("Authorization", String.valueOf(redisUtils.get("wms_token")))
.body(JSON.toJSONString(from)) .body(JSON.toJSONString(map))
.timeout(3000) .timeout(3000)
.execute(); .execute();
log.info("反馈WMS AGV取放货状态成功,请求路径:{},请求结果:{}", url, result.body()); log.info("反馈WMS AGV取放货状态成功,请求路径:{},请求结果:{}", url, result.body());

Loading…
Cancel
Save