Browse Source

修正:运行日志报错提示词

zhongwei
ty 4 months ago
parent
commit
d89794d31a
  1. 3
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsAnalyseExampleServiceImpl.java

3
hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsAnalyseExampleServiceImpl.java

@ -70,7 +70,8 @@ public class ImsAnalyseExampleServiceImpl extends ServiceImpl<ImsAnalyseExampleM
// if(DataResultCode.ANALYZE_INSTANCE_UNDEFINE.getCode()==analyzeDataByAnalyzeCode.getCode()){
// throw new ServiceException("找不到对应的分析实例,请检查好配置后重试!");
// }
throw new ServiceException("设备数据查询异常,请检查好配置后重试!");
log.error("getAnalyzeDataByAnalyzeCode接口请求失败:{},请求参数为:{}",JSON.toJSONString(analyzeDataByAnalyzeCode),JSON.toJSONString(analyzeDataCondition));
return R.fail("设备数据查询异常,请检查分析实例相关配置后重试!");
}
return analyzeDataByAnalyzeCode;
}

Loading…
Cancel
Save