GAAS 广汽安道拓GFrame金属件MOM项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
322 B

  1. package grmi
  2. type ConditionItem struct {
  3. Field
  4. PredicateType func(Predicate) string
  5. OrderBy bool
  6. valueParser func(string) (interface{}, error)
  7. }
  8. func NewConditionItem(field Field, predicateType func(Predicate) string, orderBy bool) ConditionItem {
  9. return ConditionItem{field, predicateType, orderBy, nil}
  10. }