| | |
| | | return mapper.createViewBySql(viewCreateSql); |
| | | } |
| | | |
| | | |
| | | public int createTableBySql(String tableName, String attributeSql) { |
| | | return mapper.createTableBySql(tableName, attributeSql); |
| | | } |
| | | |
| | | |
| | | public int commentTable(String tableName, String comment) { |
| | | return mapper.commentTable(tableName, comment); |
| | | } |
| | | |
| | | |
| | | public int commentColumnTable(String tableName, String columnName, String comment) { |
| | | return mapper.commentColumnTable(tableName, columnName, comment); |
| | | } |
| | | |
| | | |
| | | public int modifyTableBySql(String tableName, String attributeSql) { |
| | | return mapper.modifyTableBySql(tableName, attributeSql); |
| | | } |
| | | |
| | | |
| | | public int addColumn2TableBySql(String tableName, String attributeSql) { |
| | | return mapper.addColumn2TableBySql(tableName, attributeSql); |
| | | } |
| | | |
| | | |
| | | public int dropTable(String tableName) { |
| | | return mapper.dropTable(tableName); |
| | | } |
| | | |
| | | |
| | | public int checkTableExist(String tableName) { |
| | | return mapper.checkTableExist(tableName); |
| | | } |
| | | |
| | | |
| | | public int countAll(String tableName) { |
| | | return mapper.countAll(tableName); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获取字段创建sql |