疯狂的狮子li
2021-05-13 f01bb5966a55bd35754476c11d9c8afa6bc7f659
ruoyi-generator/src/main/java/com/ruoyi/generator/mapper/GenTableMapper.java
@@ -1,20 +1,26 @@
package com.ruoyi.generator.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.generator.domain.GenTable;
import java.util.List;
/**
 * 业务 数据层
 *
 *
 * @author ruoyi
 */
public interface GenTableMapper extends BaseMapper<GenTable>
{
public interface GenTableMapper extends BaseMapper<GenTable> {
    Page<GenTable> selectPageGenTableList(Page<GenTable> page, GenTable genTable);
    Page<GenTable> selectPageDbTableList(Page<GenTable> page, GenTable genTable);
    /**
     * 查询业务列表
     *
     *
     * @param genTable 业务信息
     * @return 业务集合
     */
@@ -22,7 +28,7 @@
    /**
     * 查询据库列表
     *
     *
     * @param genTable 业务信息
     * @return 数据库表集合
     */
@@ -30,7 +36,7 @@
    /**
     * 查询据库列表
     *
     *
     * @param tableNames 表名称组
     * @return 数据库表集合
     */
@@ -45,7 +51,7 @@
    /**
     * 查询表ID业务信息
     *
     *
     * @param id 业务ID
     * @return 业务信息
     */
@@ -53,33 +59,10 @@
    /**
     * 查询表名称业务信息
     *
     *
     * @param tableName 表名称
     * @return 业务信息
     */
    public GenTable selectGenTableByName(String tableName);
    /**
     * 新增业务
     *
     * @param genTable 业务信息
     * @return 结果
     */
    public int insertGenTable(GenTable genTable);
    /**
     * 修改业务
     *
     * @param genTable 业务信息
     * @return 结果
     */
    public int updateGenTable(GenTable genTable);
    /**
     * 批量删除业务
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteGenTableByIds(Long[] ids);
}