update
This commit is contained in:
@@ -46,7 +46,7 @@ public class HttpClient {
|
||||
try (Response response = client.newCall(request).execute()) {
|
||||
return response.body().string();
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException("POST Request Failed", e);
|
||||
throw new RuntimeException("HTTP POST Request Failed", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -181,9 +181,7 @@ public class ExecuteMove extends BaseService {
|
||||
*/
|
||||
public static boolean resetOrder(String vehicleName) {
|
||||
|
||||
if (orderInfoMap.containsKey(vehicleName)) {
|
||||
orderInfoMap.remove(vehicleName);
|
||||
}
|
||||
orderInfoMap.remove(vehicleName);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -84,6 +84,10 @@ public class ExecuteOperation extends BaseService{
|
||||
//获取订单ID
|
||||
Integer orderId = ExecuteMove.getOrderID(vehicleName);
|
||||
|
||||
if (orderId == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
RequestB2 b2 = new RequestB2();
|
||||
|
||||
b2.setAction_parallel_manner(2);
|
||||
|
||||
Reference in New Issue
Block a user