[fix] NewExpr 参数错误

This commit is contained in:
2024-05-09 10:21:15 +08:00
parent 16a90b0469
commit 37018837d1
2 changed files with 6 additions and 18 deletions
+2 -2
View File
@@ -260,11 +260,11 @@ func FieldSqlFn(fn, fnParam string) ExprOption {
}
}
func NewExpr(rResource, rField, token string, opts ...ExprOption) *ConditionExpr {
func NewExpr(rResource, rField string, opts ...ExprOption) *ConditionExpr {
expr := &ConditionExpr{
field: rField,
fieldResource: rResource,
token: token,
token: "",
tokenType: STRING,
operator: EQ,
ignoreEmptyParma: false,