From 1155098fcd1bcab6861bf44d5b846dd5bd7f2546 Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期五, 02 八月 2024 13:42:25 +0800
Subject: [PATCH] #MES上报
---
src/main/java/com/zy/asrs/task/handler/AgvWrkMastHandler.java | 4 +++-
src/main/resources/application.yml | 1 +
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/zy/asrs/task/handler/AgvWrkMastHandler.java b/src/main/java/com/zy/asrs/task/handler/AgvWrkMastHandler.java
index 28ca056..b52f471 100644
--- a/src/main/java/com/zy/asrs/task/handler/AgvWrkMastHandler.java
+++ b/src/main/java/com/zy/asrs/task/handler/AgvWrkMastHandler.java
@@ -58,6 +58,8 @@
private String orderReportPath;
@Value("${mes.pakinReportPath}")
private String pakinReportPath;
+ @Value("${mes.buyPakinReportPath}")
+ private String buyPakinReportPath;
@Value("${mes.pakoutReportPath}")
private String pakoutReportPath;
@Value("${mes.getTokenPath}")
@@ -649,7 +651,7 @@
mesBuyPakinReportParam.setCode(orderNo);
mesBuyPakinReportParam.setIteam(iteams);
- doHttpRequest(mesBuyPakinReportParam,getMesTokenInfo(),"涓婃姤mes閲囪喘鍏ュ簱淇℃伅",url,pakinReportPath,null,"127.0.0.1");
+ doHttpRequest(mesBuyPakinReportParam,getMesTokenInfo(),"涓婃姤mes閲囪喘鍏ュ簱淇℃伅",url,buyPakinReportPath,null,"127.0.0.1");
}else {
MesPakinReportParam mesPakinReportParam = new MesPakinReportParam();
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index fec56f7..efa23d8 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -94,6 +94,7 @@
url: https://v3-ali.blacklake.cn/api/openapi/domain/web/v1/route
orderReportPath: /inventory/open/v2/transfer_order/ordinary/_execute
pakinReportPath: /inventory/open/v2/inbound_order/execute/_inbound
+ buyPakinReportPath: /inventory/open/v2/inbound_order/execute/_inbound
pakoutReportPath: /inventory/open/v2/outbound_order/_outbound_by_suggest
getTokenUrl: https://v3-ali.blacklake.cn
getTokenPath: /api/openapi/domain/api/v1/access_token/_get_access_token
--
Gitblit v1.9.1