From e0004817f2edb903fd9707b194ba8db2429e33ae Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期一, 04 三月 2024 13:46:57 +0800 Subject: [PATCH] 入出库日志筛选 入库无需校验 --- src/main/java/com/zy/asrs/task/handler/ErpAccessTokenHandler.java | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/handler/ErpAccessTokenHandler.java b/src/main/java/com/zy/asrs/task/handler/ErpAccessTokenHandler.java index 185e247..d02dcc2 100644 --- a/src/main/java/com/zy/asrs/task/handler/ErpAccessTokenHandler.java +++ b/src/main/java/com/zy/asrs/task/handler/ErpAccessTokenHandler.java @@ -47,7 +47,12 @@ System.out.println("鑾峰彇appToken涓虹┖"); throw new CoolException(e); } - + if(data == null){ + return; + } + if (data == null) { + return; + } //鑾峰彇access_token if ((boolean) data.get("success")) { JSONObject accessTokenJson = new JSONObject(); -- Gitblit v1.9.1