Commit a4b4563a authored by zhangsen's avatar zhangsen

bug修改

parent e32752ed
...@@ -178,7 +178,7 @@ public class IdxBizPvHealthIndexController extends BaseController { ...@@ -178,7 +178,7 @@ public class IdxBizPvHealthIndexController extends BaseController {
map.put("value",idxBizPvWarningRecordList.stream().filter(e->e.getWarningName().equals("警告")).count()); map.put("value",idxBizPvWarningRecordList.stream().filter(e->e.getWarningName().equals("警告")).count());
warningNum.put("name","注意"); warningNum.put("name","注意");
warningNum.put("value",idxBizPvWarningRecordList.stream().filter(e->e.getWarningName().equals("注意")).count()); warningNum.put("value",idxBizPvWarningRecordList.stream().filter(e->e.getWarningName().equals("注意")).count());
pointNum.put("name","正常"); pointNum.put("name","安全");
pointNum.put("value",total - idxBizPvWarningRecordList.size()); pointNum.put("value",total - idxBizPvWarningRecordList.size());
List<Map<String,Object>> list = new ArrayList<>(); List<Map<String,Object>> list = new ArrayList<>();
......
...@@ -134,6 +134,7 @@ ...@@ -134,6 +134,7 @@
AND b.POINT_NAME = #{POINTNAME} AND b.POINT_NAME = #{POINTNAME}
</if> </if>
</where> </where>
group by INDEX_ADDRESS
order by b.HEALTH_INDEX ASC order by b.HEALTH_INDEX ASC
limit ${current},${size} limit ${current},${size}
...@@ -185,6 +186,7 @@ ...@@ -185,6 +186,7 @@
AND b.POINT_NAME = #{POINTNAME} AND b.POINT_NAME = #{POINTNAME}
</if> </if>
</where> </where>
group by INDEX_ADDRESS
</select> </select>
......
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