From e7dd8396e19f538e5f51ced927e2f62e1f75fa63 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期五, 29 三月 2024 10:29:54 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/controller/TaskWrkController.java | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/zy/asrs/controller/TaskWrkController.java b/src/main/java/com/zy/asrs/controller/TaskWrkController.java index 93bb195..34f7fda 100644 --- a/src/main/java/com/zy/asrs/controller/TaskWrkController.java +++ b/src/main/java/com/zy/asrs/controller/TaskWrkController.java @@ -218,7 +218,7 @@ headParam.put("status",taskWrk.getStatus()); headParam.put("ioType",taskWrk.getIoType()); headParam.put("barcode",taskWrk.getBarcode()); - headParam.put("reportTime",new Date()); +// headParam.put("reportTime",new Date()); String response; response = new HttpHandler.Builder() // .setHeaders(headParam) @@ -227,9 +227,9 @@ .setJson(JSON.toJSONString(headParam)) .build() .doPost(); - + log.info("wcs鎵嬪姩瀹屾垚浠诲姟涓婃姤wms", taskWrk); JSONObject jsonObject = JSON.parseObject(response); - apiLogService.save("wcs娲惧彂鍏ュ簱浠诲姟涓婃姤wms" + apiLogService.save("wcs鎵嬪姩瀹屾垚浠诲姟涓婃姤wms" ,wmsUrl+taskStatusFeedbackPath ,null ,"127.0.0.1" @@ -238,7 +238,7 @@ ,true ); }catch (Exception e){ - log.error("wcs鎵嬪姩鍙栨秷浠诲姟涓婃姤wms澶辫触", taskWrk); + log.error("wcs鎵嬪姩瀹屾垚浠诲姟涓婃姤wms澶辫触", taskWrk); throw new CoolException("wcs娲惧彂鍏ュ簱浠诲姟涓婃姤wms澶辫触"); } locMastService.updateById(locMast); @@ -272,7 +272,7 @@ headParam.put("status",taskWrk.getStatus()); headParam.put("ioType",taskWrk.getIoType()); headParam.put("barcode",taskWrk.getBarcode()); - headParam.put("reportTime",new Date()); +// headParam.put("reportTime",new Date()); String response; response = new HttpHandler.Builder() // .setHeaders(headParam) @@ -281,9 +281,9 @@ .setJson(JSON.toJSONString(headParam)) .build() .doPost(); - + log.info("wcs鎵嬪姩鍙栨秷浠诲姟涓婃姤wms", taskWrk); JSONObject jsonObject = JSON.parseObject(response); - apiLogService.save("wcs娲惧彂鍏ュ簱浠诲姟涓婃姤wms" + apiLogService.save("wcs鎵嬪姩鍙栨秷浠诲姟涓婃姤wms" ,wmsUrl+taskStatusFeedbackPath ,null ,"127.0.0.1" @@ -292,7 +292,7 @@ ,true ); }catch (Exception e){ - log.error("wcs鎵嬪姩瀹岀粨浠诲姟涓婃姤wms澶辫触", taskWrk); + log.error("wcs鎵嬪姩鍙栨秷浠诲姟涓婃姤wms澶辫触", taskWrk); throw new CoolException("wcs娲惧彂鍏ュ簱浠诲姟涓婃姤wms澶辫触"); } taskWrk.setCompleteTime(now);//瀹岀粨鏃堕棿 -- Gitblit v1.9.1