接口 UpdateLibraryMapper
@Component
public interface UpdateLibraryMapper
-
方法概要
修饰符和类型方法说明void
createTable
(TableLayoutEntity table) 创建表void
createTableColumn
(TableLayoutEntity table, ColumnLayoutEntity column) 创建字段void
createTableUniqueIndex
(TableLayoutEntity table, ColumnLayoutEntity column) 创建唯一索引void
deleteTable
(List<TableLayoutEntity> tableList) 删除表void
deleteTableField
(TableLayoutEntity table, ColumnLayoutEntity column) 删了表字段
-
方法详细资料
-
createTable
创建表- 参数:
table
- 表集合
-
createTableColumn
void createTableColumn(@Param("item") TableLayoutEntity table, @Param("column") ColumnLayoutEntity column) 创建字段- 参数:
table
- 表集合column
- 字段
-
deleteTableField
void deleteTableField(@Param("item") TableLayoutEntity table, @Param("column") ColumnLayoutEntity column) 删了表字段- 参数:
table
- 表集合column
- 字段
-
deleteTable
删除表- 参数:
tableList
- 表集合
-
createTableUniqueIndex
void createTableUniqueIndex(@Param("item") TableLayoutEntity table, @Param("column") ColumnLayoutEntity column) 创建唯一索引- 参数:
table
- 表集合column
- 字段
-