From c7db2ed32c074fb311bc3209313978d2df86c0c4 Mon Sep 17 00:00:00 2001 From: Junjie <540245094@qq.com> Date: 星期三, 21 五月 2025 09:59:15 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java | 4 ++++ src/main/resources/application-prod.yml | 8 ++++++++ 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java index a52b7ef..293b2a6 100644 --- a/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java @@ -201,6 +201,10 @@ } else if (jsonObject.getInteger("code") == 500) { log.info("鏉$爜锛�" + barcode + "鐢宠WMS澶辫触,response=" + JSON.toJSONString(jsonObject)); + + staProtocol.setWorkNo(9997); + staProtocol.setStaNo(inSta.getBackSta().shortValue()); + MessageQueue.offer(SlaveType.Devp, devp.getId(), new Task(2, staProtocol)); continue; }else { log.info("鏉$爜锛�" + barcode + "鐢宠WMS澶辫触,response=" + JSON.toJSONString(jsonObject)); diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index 3e36ea9..d4e6989 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -171,16 +171,20 @@ staNo: 203 inSta[2]: staNo: 105 + backSta: 106 barcode: ${wcs-slave.barcode[2].id} inSta[4]: staNo: 202 + backSta: 203 barcode: ${wcs-slave.barcode[4].id} inSta[0]: #鍏ュ簱鍙�1 staNo: 101 + backSta: 102 barcode: ${wcs-slave.barcode[0].id} id: 1 inSta[6]: staNo: 208 + backSta: 209 barcode: ${wcs-slave.barcode[6].id} emptyInSta[1]: #绌烘澘鍏ュ簱鍙�2 staNo: 104 @@ -198,16 +202,20 @@ staNo: 101 inSta[3]: staNo: 107 + backSta: 108 barcode: ${wcs-slave.barcode[3].id} inSta[5]: staNo: 205 + backSta: 206 barcode: ${wcs-slave.barcode[5].id} port: 102 inSta[1]: #鍏ュ簱鍙�2 staNo: 103 + backSta: 104 barcode: ${wcs-slave.barcode[1].id} inSta[7]: staNo: 211 + backSta: 212 barcode: ${wcs-slave.barcode[7].id} barcode[5]: #鏉$爜鎵弿浠�6 port: 51236 -- Gitblit v1.9.1