[feat] 统一 orm 入口
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
package base
|
||||
|
||||
import "git.fsdpf.net/go/contracts"
|
||||
|
||||
type ResCondition struct {
|
||||
Id int `db:"id"`
|
||||
Pid int `db:"pid"`
|
||||
@@ -38,5 +36,3 @@ type ResWhereExpr struct {
|
||||
}
|
||||
|
||||
type GetResConditions func(categoryUuid string) []ResCondition
|
||||
|
||||
type GetOrmConditionByRes func(categoryUuid string, describe string) contracts.Condition
|
||||
|
||||
Reference in New Issue
Block a user