Commit c6f3147d authored by tangwei's avatar tangwei

解决冲突

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