|
|
@@ -33,7 +33,7 @@ public class GroupUsersServiceImpl implements GroupUsersServiceInterface {
|
|
|
@Override
|
|
|
public Mono<RStatus<Paged<GroupUsers>>> page(Integer type, int page, int size) {
|
|
|
Criteria criteria = Criteria.empty();
|
|
|
- if (Objects.nonNull(type)) {
|
|
|
+ if (Objects.nonNull(type) &&type>0) {
|
|
|
criteria = criteria.and("group_users_type").is(type);
|
|
|
}
|
|
|
Query query = Query.query(criteria);
|