| | |
| | | JSONObject postParameters = new JSONObject(); |
| | | postParameters.put("taskId", GenerateCodeFactory.getGeneratorId(GenerateCodeFactory.CODE_PREFIX_machineTranslateId)); |
| | | postParameters.put("carNum", tempCarPayOrderDto.getCarNum()); |
| | | postParameters.put("extPaId", tempCarPayOrderDto.getExtPaId()); |
| | | postParameters.put("extPaId", tempCarPayOrderDto.getPaId()); |
| | | HttpEntity<MultiValueMap<String, Object>> httpEntity = new HttpEntity(postParameters.toJSONString(), getHeaders(outRestTemplate)); |
| | | ResponseEntity<String> responseEntity = outRestTemplate.exchange(IotConstant.getUrl(IotConstant.GET_TEMP_CAR_FEE_ORDER), HttpMethod.POST, httpEntity, String.class); |
| | | if (responseEntity.getStatusCode() != HttpStatus.OK) { |