Browse Source

修改bug

yjp 5 tháng trước cách đây
mục cha
commit
f3d688b484
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      convenient/entity_crud/service.go

+ 1 - 1
convenient/entity_crud/service.go

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