fix(service): 表格排序ID变为小写
This commit is contained in:
@@ -161,7 +161,7 @@ func ({{.Abbreviation}}Service *{{.StructName}}Service)Get{{.StructName}}InfoLis
|
||||
var OrderStr string
|
||||
orderMap := make(map[string]bool)
|
||||
{{- if .GvaModel }}
|
||||
orderMap["ID"] = true
|
||||
orderMap["id"] = true
|
||||
orderMap["CreatedAt"] = true
|
||||
{{- end }}
|
||||
{{- range .Fields}}
|
||||
|
@@ -168,7 +168,7 @@ func (s *{{.Abbreviation}}) Get{{.StructName}}InfoList(ctx context.Context, info
|
||||
var OrderStr string
|
||||
orderMap := make(map[string]bool)
|
||||
{{- if .GvaModel }}
|
||||
orderMap["ID"] = true
|
||||
orderMap["id"] = true
|
||||
orderMap["CreatedAt"] = true
|
||||
{{- end }}
|
||||
{{- range .Fields}}
|
||||
|
Reference in New Issue
Block a user