diff --git a/6.program/wms-empty/src/main/java/com/mt/wms/empty/task/AsynRunTaskService.java b/6.program/wms-empty/src/main/java/com/mt/wms/empty/task/AsynRunTaskService.java index dfab2e9..e2efb29 100644 --- a/6.program/wms-empty/src/main/java/com/mt/wms/empty/task/AsynRunTaskService.java +++ b/6.program/wms-empty/src/main/java/com/mt/wms/empty/task/AsynRunTaskService.java @@ -103,7 +103,9 @@ public class AsynRunTaskService extends BaseService { runTaskServiceBiz.save(runTask); //调用车辆填入起终点,得到车辆执行结果 Long startPoint = pointInfoServiceBiz.getOne(new QueryWrapper().eq(PointInfo.NOTE, runTask.getStartPosition())).getCode(); - Long endPoint = pointInfoServiceBiz.getOne(new QueryWrapper().eq(PointInfo.NOTE, runTask.getEndPosition())).getCode(); + PointInfo pointInfo = pointInfoServiceBiz.getOne(new QueryWrapper().eq(PointInfo.NOTE, runTask.getEndPosition())); + Long endPoint = pointInfo.getCode(); + logger.info("加工炉: "+pointInfo.getName()+"可用未满,调用车辆: "+vehicleId+" 起点为提升台终点为工业炉"); Integer status = sendTaskToRgv(vehicleId, currTaskId, startPoint, endPoint, currTask.getPlcValue()); logger.info(String.valueOf(status)); //执行成功,托盘进炉 diff --git a/6.program/wms-gateway/src/main/java/com/mt/wms/gateway/filter/GatewayFilter.java b/6.program/wms-gateway/src/main/java/com/mt/wms/gateway/filter/GatewayFilter.java index 876ab19..9d4b61e 100644 --- a/6.program/wms-gateway/src/main/java/com/mt/wms/gateway/filter/GatewayFilter.java +++ b/6.program/wms-gateway/src/main/java/com/mt/wms/gateway/filter/GatewayFilter.java @@ -107,7 +107,8 @@ public class GatewayFilter implements Filter { if (r != null && r.ok()) { if (r.getData() != null) { - log.info("loginUser={}", JSON.toJSONString(r.getData())); + //不打印 + //log.info("loginUser={}", JSON.toJSONString(r.getData())); } chain.doFilter(request, response); } else {