简化代码生成
This commit is contained in:
1 parent
72a876f37a
commit
f3e0e4dbc6
6 files changed
+26
-24
No files matched your search
@@ -34,14 +34,6 @@ func (m *{{.ClassName}}Search) Generate() dto.Index {
|
||||
return &o
|
||||
}
|
||||
|
||||
func (m *{{.ClassName}}Search) GetPageIndex() int {
|
||||
return m.PageIndex
|
||||
}
|
||||
|
||||
func (m *{{.ClassName}}Search) GetPageSize() int {
|
||||
return m.PageSize
|
||||
}
|
||||
|
||||
type {{.ClassName}}Control struct {
|
||||
{{ range .Columns -}}
|
||||
{{$x := .Pk}}
|
||||
|
||||
Reference in new issue
Block a user