fix 主键雪花ID支持

This commit is contained in:
yxh
2023-09-26 16:23:44 +08:00
parent 23bc361bb8
commit 7b8de1b5ea
19 changed files with 143 additions and 43 deletions

View File

@@ -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.