src/main/java/com/whyc/service/LockHisService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/whyc/service/LockHisService.java
@@ -54,7 +54,7 @@ //获取当天的结束时间 Date nowendTime = new Date(date.getYear(), date.getMonth(), date.getDate(), 23, 59, 59); List<LockHis> nowList =util.getLockHisWithReal(nowstartTime,nowendTime ,"db_lock_his","tb_lock_his_"+lockId,his); ,"plus_lock_his","tb_lock_his_"+lockId,his); Map<Integer, List<LockHis>> nowstatemap = nowList.stream().collect(Collectors.groupingBy(LockHis::getLockState)); for (Integer state : nowstatemap.keySet()) { if (state == 0) {