From 4c8ae371c3584de4d4c2916f4fbe0e6546e9c90f Mon Sep 17 00:00:00 2001 From: what Date: Sat, 22 Apr 2023 01:50:10 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E4=BF=AE=E5=A4=8D=20contracts/helper?= =?UTF-8?q?=20=E4=B8=8E=20contracts/base=20=E4=B9=8B=E9=97=B4=E7=9A=84?= =?UTF-8?q?=E5=BE=AA=E7=8E=AF=E5=BC=95=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helper/orm.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/helper/orm.go b/helper/orm.go index 83feb79..17a0524 100644 --- a/helper/orm.go +++ b/helper/orm.go @@ -2,7 +2,6 @@ package helper import ( "git.fsdpf.net/go/contracts" - "git.fsdpf.net/go/contracts/base" "git.fsdpf.net/go/db" ) @@ -22,12 +21,8 @@ type NewOrmConditionExpr func(rResource, rField, token string, operator contract type NewOrmConditionFuncExpr func(rResource, rField, token string, operator contracts.ConditionOperator, tType contracts.ConditionTokenType, ignoreEmptyParma bool, fn, fnParam string) contracts.ConditionExpr -type NewOrmConditionByRes func(items []base.ResCondition, describe string) contracts.Condition - type NewOrmQueryWithRecursive func(pField, cField string, root any, isWithoutCondition bool, depth int) contracts.QueryWithRecursive -type NewOrmQueryField func(rField base.ResField, t contracts.QueryDataType, alias string, options int) contracts.QueryField - type NewOrmOrderBy func(sql string, direction contracts.OrderByDirection) contracts.OrderBy type NewOrmGroupBy func(sql string) contracts.GroupBy