Commit 8bf27204 authored by wujiang's avatar wujiang

Merge branch 'developer' of http://36.40.66.175:5000/moa/jxdj_zx/amos-boot-zx-biz into developer

parents cc4ff269 15578c60
......@@ -178,7 +178,9 @@ public class TdInfoQueryController extends BaseController {
List<FanHealthIndex> fanHealthIndexIPage = fanHealthIndexMapper.getInfoByPage(dto);
fanHealthIndexIPage.forEach(item -> {
item.setHealthIndex(Double.valueOf(df.format(item.getHealthIndex())));
item.setAnalysisType(dto.getAnalysisType());
if (null != dto.getAnalysisType()){
item.setAnalysisType(dto.getAnalysisType());
}
});
Integer infoByPageTotal = fanHealthIndexMapper.getInfoByPageTotal(dto);
resultPage.setRecords(fanHealthIndexIPage);
......@@ -294,7 +296,9 @@ public class TdInfoQueryController extends BaseController {
List<PvHealthIndex> pvHealthIndexIPage = pvHealthIndexMapper.getInfoByPage(dto);
pvHealthIndexIPage.forEach(item -> {
item.setHealthIndex(Double.valueOf(df.format(item.getHealthIndex())));
item.setAnalysisType(dto.getAnalysisType());
if (null != dto.getAnalysisType()){
item.setAnalysisType(dto.getAnalysisType());
}
});
Integer infoByPageTotal = pvHealthIndexMapper.getInfoByPageTotal(dto);
resultPage.setRecords(pvHealthIndexIPage);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment