支持人工设置表结构配置

This commit is contained in:
2024-08-23 17:29:11 +08:00
parent 5ed8f2007e
commit f359598109
4 changed files with 56 additions and 17 deletions

View File

@ -31,5 +31,7 @@ type IWrapperDatabaseClient interface {
// CacheDataTableStructureConfig 缓存数据表结构的配置
CacheDataTableStructureConfig() *define.CacheTableStructureConfig
// GetTableFieldList 获取指定表数据字段列表
GetTableFieldList(tableName string) ([]*define.ColumnInfo, error)
GetTableFieldList(tableName string) ([]*define.ColumnConfig, error)
// SetTableStructure 设置数据表结构
SetTableStructure(tableConfigTable map[string][]*define.ColumnConfig)
}