RuoYi
2024-03-01 5c7dce3719ca67b73da5b05f28a8418e1d0f1ea7
src/main/java/com/ruoyi/project/tool/gen/service/IGenTableService.java
@@ -36,6 +36,13 @@
    public List<GenTable> selectDbTableListByNames(String[] tableNames);
    /**
     * 查询所有表信息
     *
     * @return 表信息集合
     */
    public List<GenTable> selectGenTableAll();
    /**
     * 查询业务信息
     * 
     * @param id 业务ID
@@ -60,11 +67,20 @@
    public void deleteGenTableByIds(Long[] tableIds);
    /**
     * 导入表结构
     *
     * @param tableList 导入表列表
     * 创建表
     *
     * @param sql 创建表语句
     * @return 结果
     */
    public void importGenTable(List<GenTable> tableList);
    public boolean createTable(String sql);
    /**
     * 导入表结构
     *
     * @param tableList 导入表列表
     * @param operName 操作人员
     */
    public void importGenTable(List<GenTable> tableList, String operName);
    /**
     * 预览代码
@@ -91,6 +107,13 @@
    public void generatorCode(String tableName);
    /**
     * 同步数据库
     *
     * @param tableName 表名称
     */
    public void synchDb(String tableName);
    /**
     * 批量生成代码(下载方式)
     * 
     * @param tableNames 表数组