|
@@ -571,6 +571,7 @@ public class DeviceInfoServiceImpl extends ServiceImpl<DeviceInfoMapper, DeviceI
|
|
|
LambdaQueryWrapper<DeviceInfo> lambdaQueryWrapper = new LambdaQueryWrapper<DeviceInfo>()
|
|
|
.eq(DeviceInfo::getMercId, activationCount.getMercId())
|
|
|
.eq(DeviceInfo::getActiveState, 1)
|
|
|
+ .ne(Emptys.check(activationCount.getNotDeviceType()), DeviceInfo::getDeviceType, activationCount.getNotDeviceType())
|
|
|
.between(Emptys.check(activationCount.getBeginTime()), DeviceInfo::getActiveTime, activationCount.getBeginTime(), activationCount.getEndTime());
|
|
|
long count = count(lambdaQueryWrapper);
|
|
|
return R.ok((int) count);
|