Browse Source

修改NewCondition匹配不到MetaFiled时不再打印错误退出

pull/13/head
zhangxin 4 years ago
parent
commit
fc752ced95
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      grmi/Condition.go

+ 0
- 3
grmi/Condition.go View File

@ -1,7 +1,6 @@
package grmi
import (
"log"
"strings"
)
@ -22,8 +21,6 @@ func NewCondition(items map[string]ConditionItem, paging *Paging) Condition {
if ok {
item.valueParser = valueParser
conditionItems[key] = item
} else {
log.Fatalf("不支持字段%s作为查询条件!\r\n", item.Field.Name)
}
}
return Condition{Items: conditionItems, Paging: paging, OrderByFields: orderByFields}


Loading…
Cancel
Save