Browse Source

Merge pull request '修改NewCondition匹配不到MetaFiled时不再打印错误退出' (#13) from fix_condition into develop

Reviewed-on: http://101.201.121.115:3000/leo/LAPP_GAAS_GFrame_BACKEND/pulls/13
Reviewed-by: weichenglei <chenglei.wei@le-it.com.cn>
pull/20/head
weichenglei 4 years ago
parent
commit
861c684cc6
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