疯狂的狮子li
2021-10-15 a6fb88d74c20cc28043d75e8a5097fce49cf9a78
ruoyi-generator/src/main/java/com/ruoyi/generator/service/IGenTableService.java
@@ -10,7 +10,7 @@
/**
 * 业务 服务层
 *
 * @author ruoyi
 * @author Lion Li
 */
public interface IGenTableService extends IService<GenTable> {
@@ -26,7 +26,7 @@
     * @param genTable 业务信息
     * @return 业务集合
     */
    public List<GenTable> selectGenTableList(GenTable genTable);
    List<GenTable> selectGenTableList(GenTable genTable);
    /**
     * 查询据库列表
@@ -34,7 +34,7 @@
     * @param genTable 业务信息
     * @return 数据库表集合
     */
    public List<GenTable> selectDbTableList(GenTable genTable);
    List<GenTable> selectDbTableList(GenTable genTable);
    /**
     * 查询据库列表
@@ -42,14 +42,14 @@
     * @param tableNames 表名称组
     * @return 数据库表集合
     */
    public List<GenTable> selectDbTableListByNames(String[] tableNames);
    List<GenTable> selectDbTableListByNames(String[] tableNames);
    /**
     * 查询所有表信息
     *
     * @return 表信息集合
     */
    public List<GenTable> selectGenTableAll();
    List<GenTable> selectGenTableAll();
    /**
     * 查询业务信息
@@ -57,7 +57,7 @@
     * @param id 业务ID
     * @return 业务信息
     */
    public GenTable selectGenTableById(Long id);
    GenTable selectGenTableById(Long id);
    /**
     * 修改业务
@@ -65,7 +65,7 @@
     * @param genTable 业务信息
     * @return 结果
     */
    public void updateGenTable(GenTable genTable);
    void updateGenTable(GenTable genTable);
    /**
     * 删除业务信息
@@ -73,14 +73,14 @@
     * @param tableIds 需要删除的表数据ID
     * @return 结果
     */
    public void deleteGenTableByIds(Long[] tableIds);
    void deleteGenTableByIds(Long[] tableIds);
    /**
     * 导入表结构
     *
     * @param tableList 导入表列表
     */
    public void importGenTable(List<GenTable> tableList);
    void importGenTable(List<GenTable> tableList);
    /**
     * 预览代码
@@ -88,7 +88,7 @@
     * @param tableId 表编号
     * @return 预览数据列表
     */
    public Map<String, String> previewCode(Long tableId);
    Map<String, String> previewCode(Long tableId);
    /**
     * 生成代码(下载方式)
@@ -96,7 +96,7 @@
     * @param tableName 表名称
     * @return 数据
     */
    public byte[] downloadCode(String tableName);
    byte[] downloadCode(String tableName);
    /**
     * 生成代码(自定义路径)
@@ -104,14 +104,14 @@
     * @param tableName 表名称
     * @return 数据
     */
    public void generatorCode(String tableName);
    void generatorCode(String tableName);
    /**
     * 同步数据库
     *
     * @param tableName 表名称
     */
    public void synchDb(String tableName);
    void synchDb(String tableName);
    /**
     * 批量生成代码(下载方式)
@@ -119,12 +119,12 @@
     * @param tableNames 表数组
     * @return 数据
     */
    public byte[] downloadCode(String[] tableNames);
    byte[] downloadCode(String[] tableNames);
    /**
     * 修改保存参数校验
     *
     * @param genTable 业务信息
     */
    public void validateEdit(GenTable genTable);
    void validateEdit(GenTable genTable);
}