|
@@ -39,10 +39,7 @@ import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.web.client.RestTemplate;
|
|
|
|
|
|
-import java.util.ArrayList;
|
|
|
-import java.util.Calendar;
|
|
|
-import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
+import java.util.*;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
/**
|
|
@@ -163,10 +160,10 @@ public class AgvHikOrderInfoServiceImpl extends SuperCacheServiceImpl<AgvHikOrde
|
|
|
String reqCode = UniqueKeyGenerator.getUniqueKeyStartWithTimestamp(32);
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
JSONArray positionCodePath = new JSONArray();
|
|
|
- JSONObject begin = new JSONObject();
|
|
|
+ Map begin = new HashMap();
|
|
|
begin.put("positionCode",start);
|
|
|
begin.put("type","00");
|
|
|
- JSONObject end = new JSONObject();
|
|
|
+ Map end = new HashMap();
|
|
|
end.put("positionCode", goal);
|
|
|
end.put("type","00");
|
|
|
positionCodePath.add(0,begin);
|