| | |
| | | recordFromTaskResultBuffer.append(line);
|
| | | }
|
| | | logger.info("result:" + recordFromTaskResultBuffer.toString());
|
| | | }else {
|
| | | logger.info("Http结果:" + responseCode);
|
| | | }
|
| | | } catch (Exception e) {
|
| | | e.printStackTrace();
|
| | |
| | | CJReportResultData CJRecordFromTaskResult = new CJReportResultData();
|
| | | try {
|
| | | CJRecordFromTaskResult = JSONObject.parseObject(recordFromTaskResultBuffer.toString(), CJReportResultData.class);
|
| | | if (ObjectUtils.isEmpty(CJRecordFromTaskResult)){
|
| | | throw new RuntimeException("返回值为空");
|
| | | }
|
| | | }catch (Exception e){
|
| | | e.printStackTrace();
|
| | | logger.info("【test】接收返回值异常");
|