Skip to content

Commit bf095c3

Browse files
author
piexlMax(奇淼
committed
fix(service): 表格排序ID变为小写
1 parent cee3b54 commit bf095c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/resource/package/server/service/service.go.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ func ({{.Abbreviation}}Service *{{.StructName}}Service)Get{{.StructName}}InfoLis
161161
var OrderStr string
162162
orderMap := make(map[string]bool)
163163
{{- if .GvaModel }}
164-
orderMap["ID"] = true
164+
orderMap["id"] = true
165165
orderMap["CreatedAt"] = true
166166
{{- end }}
167167
{{- range .Fields}}

server/resource/plugin/server/service/service.go.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func (s *{{.Abbreviation}}) Get{{.StructName}}InfoList(ctx context.Context, info
168168
var OrderStr string
169169
orderMap := make(map[string]bool)
170170
{{- if .GvaModel }}
171-
orderMap["ID"] = true
171+
orderMap["id"] = true
172172
orderMap["CreatedAt"] = true
173173
{{- end }}
174174
{{- range .Fields}}

0 commit comments

Comments
 (0)