|
|
@@ -222,7 +222,7 @@ public class CmsGroupServiceImpl extends ServiceImpl<GroupsMapper,GroupsTrips> i
|
|
|
Number number = beanSearcher.searchCount(GroupsRelation.class, MapUtils.builder()
|
|
|
.field(GroupsRelation::getGroupsId, groupsTrips.getId())
|
|
|
.field(GroupsRelation::getUserId, 0).op(Operator.NotEqual)
|
|
|
- .field(GroupsRelation::getStatus, GroupsRelation.Status.validity)
|
|
|
+ .field(GroupsRelation::getStatus, GroupsRelation.Status.validity.name())
|
|
|
.build());
|
|
|
if (number.intValue() > 0) {
|
|
|
groupsTrips.setStatus(GroupsTrips.Status.down);
|