From 185ef97360c7c5f205f02859bb99d84ccd47804a Mon Sep 17 00:00:00 2001 From: Administrator <pjb> Date: 星期一, 02 六月 2025 21:53:12 +0800 Subject: [PATCH] 正面条码读取加上物料号 --- src/main/java/com/zy/asrs/service/impl/ToWmsServiceImpl.java | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/ToWmsServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/ToWmsServiceImpl.java index e45438d..03ffbb3 100644 --- a/src/main/java/com/zy/asrs/service/impl/ToWmsServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/ToWmsServiceImpl.java @@ -17,7 +17,6 @@ import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; -import java.io.IOException; import java.util.Date; @Slf4j @@ -118,9 +117,9 @@ return createInTask(result, wmsParam.getBarcode(), wmsParam.getStationCode()); } } - } catch (IOException e) { + } catch (Exception e) { e.printStackTrace(); - log.info("璇锋眰wms鎶ラ敊锛寋}", e.getMessage()); + log.info("璇锋眰wms鎶ラ敊锛屽叆鍙傦細{},寮傚父锛歿}",JSON.toJSONString(wmsParam), e.getMessage()); } finally { addApiLog("鍏ュ簱浠诲姟璇锋眰鑾峰彇搴撲綅", wmsUrl + inboundTaskApplyPath, JSON.toJSONString(wmsParam), response, success); } -- Gitblit v1.9.1