|
@@ -55,9 +55,8 @@ public class UserIncrementServiceImpl extends ServiceImpl<IUserIncrementMapper,
|
|
|
public Long getCountByUserId(Long userId, int type) {
|
|
|
LambdaQueryWrapper<UserIncrement> wrapper = new LambdaQueryWrapper<>();
|
|
|
wrapper.eq(UserIncrement::getUserId,userId);
|
|
|
- wrapper.eq(UserIncrement::getIsExpired,0);
|
|
|
if(type == 0){
|
|
|
- wrapper.isNull(UserIncrement::getCameraId);
|
|
|
+ wrapper.eq(UserIncrement::getIsExpired,0);
|
|
|
}else if(type == 1){
|
|
|
wrapper.isNotNull(UserIncrement::getCameraId);
|
|
|
}
|