|
@@ -101,7 +101,6 @@ func (s *StoreEntry) SearchSystemUserList(ctx context.Context, req *pasturePb.Se
|
|
|
|
|
|
systemUserList := make([]*model.SystemUser, 0)
|
|
|
var count int64 = 0
|
|
|
-
|
|
|
pref := s.DB.Model(new(model.SystemUser)).
|
|
|
Where("is_delete = ?", operationPb.IsShow_OK).
|
|
|
Where("FIND_IN_SET(?, pasture_ids) > ?", userModel.AppPasture.Id, 0)
|