fix 主键雪花ID支持
This commit is contained in:
@@ -38,6 +38,8 @@ type ToolsGenTableColumns struct {
|
||||
SortColumn string // 排序字段名
|
||||
SortType string // 排序方式 (asc顺序 desc倒序)
|
||||
ShowDetail string // 是否有查看详情功能
|
||||
ExcelPort string // 是否有导入导出excel功能
|
||||
UseSnowId string //主键是否使用雪花ID
|
||||
}
|
||||
|
||||
// toolsGenTableColumns holds the columns for table tools_gen_table.
|
||||
@@ -60,6 +62,8 @@ var toolsGenTableColumns = ToolsGenTableColumns{
|
||||
SortColumn: "sort_column",
|
||||
SortType: "sort_type",
|
||||
ShowDetail: "show_detail",
|
||||
ExcelPort: "excel_port",
|
||||
UseSnowId: "use_snow_id",
|
||||
}
|
||||
|
||||
// NewToolsGenTableDao creates and returns a new DAO object for table data access.
|
||||
|
Reference in New Issue
Block a user