[feat] 重命名 ConditionTokenValue => TokenValue
This commit is contained in:
@@ -11,7 +11,7 @@ type EngineCase[T any] struct {
|
||||
cb func(data T, g req.GlobalParams) error
|
||||
}
|
||||
|
||||
func (this EngineCase[T]) ToSql(param condition.ConditionTokenValue) db.Expression {
|
||||
func (this EngineCase[T]) ToSql(param condition.TokenValue) db.Expression {
|
||||
if this.predicate == nil || this.predicate.IsEmpty() {
|
||||
return db.Raw("NULL")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user