| | |
| | | import org.springframework.util.MultiValueMap;
|
| | | import org.springframework.web.client.RestTemplate;
|
| | |
|
| | | import javax.annotation.Resource;
|
| | | import java.util.*;
|
| | | import java.util.stream.Collectors;
|
| | |
|
| | |
| | | @Autowired
|
| | | private WorkService workService;
|
| | |
|
| | | @Resource
|
| | | private SystemProperties properties;
|
| | |
|
| | | /***
|
| | | * 入库任务---通知ESS输送线流动
|
| | |
| | | });
|
| | |
|
| | | tasksParam.setTaskType("carry");
|
| | | // TODO 多任务多订单,统一调度,是否会出现部分成功,部分失败的情况
|
| | | SystemProperties properties = new SystemProperties();
|
| | | log.info("请求地址:{},请求参数:{}", properties.getBaseHost() + properties.getEssReceiveTask(), JSONObject.toJSONString(tasksParam));
|
| | | HttpHeaders headers = new HttpHeaders();
|
| | | headers.add("Content-Type", "application/json");
|