From 4a912ddfed47ffc057c1885993034bbcc77acc5c Mon Sep 17 00:00:00 2001 From: 野心家 <1051256694@qq.com> Date: 星期二, 11 七月 2023 17:22:50 +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