|
@ -15,7 +15,6 @@ import org.nl.exception.BadRequestException; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
|
import java.util.HashMap; |
|
|
|
|
|
import java.util.Map; |
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
@ -125,8 +124,7 @@ public class AgvWaitUtil { |
|
|
feedMap.put("feedbackStatus", "takeFinish"); |
|
|
feedMap.put("feedbackStatus", "takeFinish"); |
|
|
Map<String, Object> feedback = acsToWmsZDService.taskFeedback(feedMap); |
|
|
Map<String, Object> feedback = acsToWmsZDService.taskFeedback(feedMap); |
|
|
int responseCode = Integer.parseInt(String.valueOf(feedback.get("responseCode"))); |
|
|
int responseCode = Integer.parseInt(String.valueOf(feedback.get("responseCode"))); |
|
|
|
|
|
String responseMessage = (String.valueOf(feedback.get("responseMessage"))); |
|
|
String responseMessage = (String) feedback.get("responseMessage"); |
|
|
|
|
|
if (responseCode == 0) { |
|
|
if (responseCode == 0) { |
|
|
map.put("status", 200); |
|
|
map.put("status", 200); |
|
|
map.put("message", "请求成功"); |
|
|
map.put("message", "请求成功"); |
|
@ -154,8 +152,7 @@ public class AgvWaitUtil { |
|
|
feedMap.put("feedbackStatus", "takeFinish"); |
|
|
feedMap.put("feedbackStatus", "takeFinish"); |
|
|
Map<String, Object> feedback = acsToWmsZDService.taskFeedback(feedMap); |
|
|
Map<String, Object> feedback = acsToWmsZDService.taskFeedback(feedMap); |
|
|
int responseCode = Integer.parseInt(String.valueOf(feedback.get("responseCode"))); |
|
|
int responseCode = Integer.parseInt(String.valueOf(feedback.get("responseCode"))); |
|
|
|
|
|
String responseMessage = (String.valueOf(feedback.get("responseMessage"))); |
|
|
String responseMessage = (String) feedback.get("responseMessage"); |
|
|
|
|
|
if (responseCode == 0) { |
|
|
if (responseCode == 0) { |
|
|
map.put("status", 200); |
|
|
map.put("status", 200); |
|
|
map.put("message", "请求成功"); |
|
|
map.put("message", "请求成功"); |
|
@ -196,7 +193,7 @@ public class AgvWaitUtil { |
|
|
Map<String, Object> feedback = acsToWmsZDService.taskFeedback(feedMap); |
|
|
Map<String, Object> feedback = acsToWmsZDService.taskFeedback(feedMap); |
|
|
int responseCode = Integer.parseInt(String.valueOf(feedback.get("responseCode"))); |
|
|
int responseCode = Integer.parseInt(String.valueOf(feedback.get("responseCode"))); |
|
|
|
|
|
|
|
|
String responseMessage = (String) feedback.get("responseMessage"); |
|
|
String responseMessage = (String.valueOf(feedback.get("responseMessage"))); |
|
|
if (responseCode == 0) { |
|
|
if (responseCode == 0) { |
|
|
feedback.put("feedbackStatus", "puting"); |
|
|
feedback.put("feedbackStatus", "puting"); |
|
|
acsToWmsZDService.taskFeedback(feedMap); |
|
|
acsToWmsZDService.taskFeedback(feedMap); |
|
@ -230,7 +227,7 @@ public class AgvWaitUtil { |
|
|
Map<String, Object> feedback = acsToWmsZDService.taskFeedback(feedMap); |
|
|
Map<String, Object> feedback = acsToWmsZDService.taskFeedback(feedMap); |
|
|
int responseCode = Integer.parseInt(String.valueOf(feedback.get("responseCode"))); |
|
|
int responseCode = Integer.parseInt(String.valueOf(feedback.get("responseCode"))); |
|
|
|
|
|
|
|
|
String responseMessage = (String) feedback.get("responseMessage"); |
|
|
String responseMessage = (String.valueOf(feedback.get("responseMessage"))); |
|
|
if (responseCode == 0) { |
|
|
if (responseCode == 0) { |
|
|
feedback.put("feedbackStatus", "puting"); |
|
|
feedback.put("feedbackStatus", "puting"); |
|
|
acsToWmsZDService.taskFeedback(feedMap); |
|
|
acsToWmsZDService.taskFeedback(feedMap); |
|
@ -275,7 +272,7 @@ public class AgvWaitUtil { |
|
|
Map<String, Object> feedback = acsToWmsZDService.taskFeedback(feedMap); |
|
|
Map<String, Object> feedback = acsToWmsZDService.taskFeedback(feedMap); |
|
|
int responseCode = Integer.parseInt(String.valueOf(feedback.get("responseCode"))); |
|
|
int responseCode = Integer.parseInt(String.valueOf(feedback.get("responseCode"))); |
|
|
|
|
|
|
|
|
String responseMessage = (String) feedback.get("responseMessage"); |
|
|
String responseMessage = (String.valueOf(feedback.get("responseMessage"))); |
|
|
if (responseCode == 0) { |
|
|
if (responseCode == 0) { |
|
|
map.put("status", 200); |
|
|
map.put("status", 200); |
|
|
map.put("message", "请求成功"); |
|
|
map.put("message", "请求成功"); |
|
@ -303,8 +300,7 @@ public class AgvWaitUtil { |
|
|
feedMap.put("feedbackStatus", "putFinish"); |
|
|
feedMap.put("feedbackStatus", "putFinish"); |
|
|
Map<String, Object> feedback = acsToWmsZDService.taskFeedback(feedMap); |
|
|
Map<String, Object> feedback = acsToWmsZDService.taskFeedback(feedMap); |
|
|
int responseCode = Integer.parseInt(String.valueOf(feedback.get("responseCode"))); |
|
|
int responseCode = Integer.parseInt(String.valueOf(feedback.get("responseCode"))); |
|
|
|
|
|
String responseMessage = (String.valueOf(feedback.get("responseMessage"))); |
|
|
String responseMessage = (String) feedback.get("responseMessage"); |
|
|
|
|
|
if (responseCode == 0) { |
|
|
if (responseCode == 0) { |
|
|
map.put("status", 200); |
|
|
map.put("status", 200); |
|
|
map.put("message", "请求成功"); |
|
|
map.put("message", "请求成功"); |
|
|