Commit c6f3147d authored by tangwei's avatar tangwei

解决冲突

parents f28d21ee d922e92f
...@@ -178,8 +178,8 @@ public class IdxBizPvHealthIndexController extends BaseController { ...@@ -178,8 +178,8 @@ 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", Math.max((total - idxBizPvWarningRecordList.size()), 0));
List<Map<String,Object>> list = new ArrayList<>(); List<Map<String,Object>> list = new ArrayList<>();
list.add(pointNum); list.add(pointNum);
......
...@@ -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