[feat] 重命名 ConditionTokenValue => TokenValue
This commit is contained in:
+2
-2
@@ -93,7 +93,7 @@ func (this Condition) IsAlwaysRight() bool {
|
||||
}
|
||||
|
||||
// 生成 SQL 语句
|
||||
func (this Condition) ToSql(m ConditionTokenValue) db.Expression {
|
||||
func (this Condition) ToSql(m TokenValue) db.Expression {
|
||||
conditions := []string{}
|
||||
// 表达式
|
||||
for _, item := range this.exprs {
|
||||
@@ -157,7 +157,7 @@ func (this *Condition) SetMatchPrefix(prefix string) *Condition {
|
||||
return this
|
||||
}
|
||||
|
||||
func (this Condition) GetFieldsValue(m ConditionTokenValue, isWithResource bool) (result map[string]any) {
|
||||
func (this Condition) GetFieldsValue(m TokenValue, isWithResource bool) (result map[string]any) {
|
||||
if this.IsEmpty() {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user