package com.ruoyi.generator.mapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.ruoyi.common.core.mybatisplus.core.BaseMapperPlus; import com.ruoyi.generator.domain.GenTable; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 业务 数据层 * * @author Lion Li */ public interface GenTableMapper extends BaseMapperPlus { Page selectPageGenTableList(@Param("page") Page page, @Param("genTable") GenTable genTable); Page selectPageDbTableList(@Param("page") Page page, @Param("genTable") GenTable genTable); /** * 查询业务列表 * * @param genTable 业务信息 * @return 业务集合 */ List selectGenTableList(GenTable genTable); /** * 查询据库列表 * * @param genTable 业务信息 * @return 数据库表集合 */ List selectDbTableList(GenTable genTable); /** * 查询据库列表 * * @param tableNames 表名称组 * @return 数据库表集合 */ List selectDbTableListByNames(String[] tableNames); /** * 查询所有表信息 * * @return 表信息集合 */ List selectGenTableAll(); /** * 查询表ID业务信息 * * @param id 业务ID * @return 业务信息 */ GenTable selectGenTableById(Long id); /** * 查询表名称业务信息 * * @param tableName 表名称 * @return 业务信息 */ GenTable selectGenTableByName(String tableName); }