[feat] 重命名 ConditionTokenValue => TokenValue

This commit is contained in:
2024-05-09 10:44:33 +08:00
parent a871ccfa75
commit f79e122b40
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -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
}