|
@@ -338,7 +338,7 @@ func Query[O any](tableName string, orderBy string, stringFieldQueryCondition st
|
|
|
|
|
|
|
|
queryCondition := stringFieldQueryCondition
|
|
queryCondition := stringFieldQueryCondition
|
|
|
if customStringFieldQueryCondition != nil {
|
|
if customStringFieldQueryCondition != nil {
|
|
|
- custom, ok := customStringFieldQueryCondition[field.FieldName]
|
|
|
|
|
|
|
+ custom, ok := customStringFieldQueryCondition[field.ColumnName]
|
|
|
if ok {
|
|
if ok {
|
|
|
queryCondition = custom
|
|
queryCondition = custom
|
|
|
}
|
|
}
|