|
|
@@ -23,14 +23,8 @@ public class IotServiceImpl implements IotService {
|
|
|
|
|
|
@Override
|
|
|
public Integer selectVideoDayExceptionChannelNums(Long orgId) {
|
|
|
- LambdaQueryWrapper<IotDvrChannel> channelWrapper = new LambdaQueryWrapper<>();
|
|
|
- channelWrapper.eq(IotDvrChannel::getOrgId, orgId);
|
|
|
- if (channelMapper.selectCount(channelWrapper) < 1) {
|
|
|
- return null;
|
|
|
- }
|
|
|
//此处考虑录像完整性和录像天数,任意一个异常就算异常
|
|
|
- int i= videoDaysCheckMapper.selectExceptionCount(orgId);
|
|
|
- return i;
|
|
|
+ return videoDaysCheckMapper.selectExceptionCount(orgId);
|
|
|
}
|
|
|
|
|
|
|