|
|
@ -65,6 +65,9 @@ public class ImsAnalyseExampleServiceImpl extends BaseServiceImpl<ImsAnalyseExam |
|
|
|
public R queryAnalyseExampleData(AnalyzeDataCondition analyzeDataCondition) { |
|
|
|
public R queryAnalyseExampleData(AnalyzeDataCondition analyzeDataCondition) { |
|
|
|
//设备ID:分析实例编码
|
|
|
|
//设备ID:分析实例编码
|
|
|
|
R<HzPage<AnalyzeDataList>> analyzeDataByAnalyzeCode = searchClient.getAnalyzeDataByAnalyzeCode(analyzeDataCondition); |
|
|
|
R<HzPage<AnalyzeDataList>> analyzeDataByAnalyzeCode = searchClient.getAnalyzeDataByAnalyzeCode(analyzeDataCondition); |
|
|
|
|
|
|
|
if(!analyzeDataByAnalyzeCode.isSuccess()) { |
|
|
|
|
|
|
|
throw new ServiceException("设备数据查询异常,请检查好配置后重试!"); |
|
|
|
|
|
|
|
} |
|
|
|
return analyzeDataByAnalyzeCode; |
|
|
|
return analyzeDataByAnalyzeCode; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -131,6 +134,9 @@ public class ImsAnalyseExampleServiceImpl extends BaseServiceImpl<ImsAnalyseExam |
|
|
|
public void outPutAnalyseExampleData(HttpServletResponse response, AnalyzeDataCondition analyzeDataCondition) { |
|
|
|
public void outPutAnalyseExampleData(HttpServletResponse response, AnalyzeDataCondition analyzeDataCondition) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
R analyseExampleData =queryAnalyseExampleData(analyzeDataCondition); |
|
|
|
R analyseExampleData =queryAnalyseExampleData(analyzeDataCondition); |
|
|
|
|
|
|
|
if(!analyseExampleData.isSuccess()) { |
|
|
|
|
|
|
|
throw new ServiceException("设备数据查询异常,请检查好配置后重试!"); |
|
|
|
|
|
|
|
} |
|
|
|
String name="值班日志"; |
|
|
|
String name="值班日志"; |
|
|
|
if(ObjectUtils.isEmpty(analyzeDataCondition.getBeginTime())){ |
|
|
|
if(ObjectUtils.isEmpty(analyzeDataCondition.getBeginTime())){ |
|
|
|
String format = DateUtil.format(analyzeDataCondition.getBeginTime(), DateUtil.PATTERN_DATE); |
|
|
|
String format = DateUtil.format(analyzeDataCondition.getBeginTime(), DateUtil.PATTERN_DATE); |
|
|
|