code: public Iterable<DOAuth2User> queryByState(java.lang.Integer state) {
      return queryByField(null, DOAuth2UserMapper.Field.STATE.getFieldName(), state);
    }
docs: query-by method for field state
  @param state the specified attribute
  @return an Iterable of DOAuth2Users for the specified state