双重预防项目-国泰新华二开定制版
换个名字嗨起来
2024-07-25 60c27c15c277238bf54d436aee210c7c5af7fdc5
src/main/java/com/ruoyi/doublePrevention/scheduls/ExecCJReportDateSchedule.java
@@ -626,6 +626,8 @@
                        recordFromTaskResultBuffer.append(line);
                    }
                    logger.info("result:" + recordFromTaskResultBuffer.toString());
                }else {
                    logger.info("Http结果:" + responseCode);
                }
            } catch (Exception e) {
                e.printStackTrace();
@@ -635,6 +637,9 @@
            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】接收返回值异常");