|
@@ -32,4 +32,11 @@ public class UserImpl extends BaseServiceImpl<UserMapper, UserEntity> implements
|
|
|
wrapper.eq(UserEntity::getOnline, isOnline);
|
|
|
return list(wrapper);
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public boolean removeByUserId(String userId) {
|
|
|
+ LambdaQueryWrapper<UserEntity> wrapper = Wrappers.lambdaQuery();
|
|
|
+ wrapper.eq(UserEntity::getUserId, userId);
|
|
|
+ return remove(wrapper);
|
|
|
+ }
|
|
|
}
|