|
@@ -28,11 +28,11 @@ public class AlarmPowerServiceImpl extends AbstractCrudService<AlarmPowerMapper,
|
|
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
- public ApCountVO selectCount() {
|
|
|
|
|
|
+ public ApCountVO selectCount(Integer siteId) {
|
|
Integer userId = SessionLocal.getUserId();
|
|
Integer userId = SessionLocal.getUserId();
|
|
ApCountVO apCountVo = new ApCountVO();
|
|
ApCountVO apCountVo = new ApCountVO();
|
|
- apCountVo.setCount(baseMapper.selectCount(userId, null, null, null, null));
|
|
|
|
- apCountVo.setUnCount(baseMapper.selectCount(userId, null, 0, null, null));
|
|
|
|
|
|
+ apCountVo.setCount(baseMapper.selectCount(userId, siteId, null, null, null));
|
|
|
|
+ apCountVo.setUnCount(baseMapper.selectCount(userId, siteId, 0, null, null));
|
|
return apCountVo;
|
|
return apCountVo;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -53,4 +53,9 @@ public class AlarmPowerServiceImpl extends AbstractCrudService<AlarmPowerMapper,
|
|
list.add(CommonIcoVO.builder().name("抢修数量").list(rushList).build());
|
|
list.add(CommonIcoVO.builder().name("抢修数量").list(rushList).build());
|
|
return list;
|
|
return list;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public List<AlarmPower> list(Date startTime, Date endTime, Integer status, Integer siteId, Integer routeId) {
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
}
|
|
}
|