From ea6eca99ede49c00344325922a91b2fea13c0544 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E4=BF=8A=E6=9D=B0?= <9463626+zhou-junjiezjj@user.noreply.gitee.com> Date: Mon, 31 Jul 2023 08:42:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/nl/acs/ext/wms/service/impl/AcsToWmsZDServiceImpl.java | 2 +- .../java/org/nl/modules/quartz/task/QueryZDAgvTaskStatus.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/AcsToWmsZDServiceImpl.java b/acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/AcsToWmsZDServiceImpl.java index f8b21f2..56c2e02 100644 --- a/acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/AcsToWmsZDServiceImpl.java +++ b/acs/nladmin-system/src/main/java/org/nl/acs/ext/wms/service/impl/AcsToWmsZDServiceImpl.java @@ -73,7 +73,7 @@ public class AcsToWmsZDServiceImpl implements AcsToWmsZDService { } catch (Exception e) { String msg = e.getMessage(); //网络不通 - //System.out.println(msg); + log.info("错误原因{}",msg); } return result; } diff --git a/acs/nladmin-system/src/main/java/org/nl/modules/quartz/task/QueryZDAgvTaskStatus.java b/acs/nladmin-system/src/main/java/org/nl/modules/quartz/task/QueryZDAgvTaskStatus.java index 080f5f0..867fff7 100644 --- a/acs/nladmin-system/src/main/java/org/nl/modules/quartz/task/QueryZDAgvTaskStatus.java +++ b/acs/nladmin-system/src/main/java/org/nl/modules/quartz/task/QueryZDAgvTaskStatus.java @@ -30,8 +30,9 @@ public class QueryZDAgvTaskStatus { JSONArray inst_rows = JSONArray.parseArray(response.body()); for (int i = 0; i < inst_rows.size(); i++) { JSONObject inst_jo = inst_rows.getJSONObject(i); - String inst_code = inst_jo.getString("taskCode"); + String inst_code = inst_jo.getString("task_code"); Instruction inst = instructionService.findByCodeFromCache(inst_code); + log.info("查询到的任务号{}",inst); if (ObjectUtil.isEmpty(inst)) { continue; }