| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- package com.xunmei.gen.mapper;
- import com.baomidou.mybatisplus.core.mapper.BaseMapper;
- import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
- import com.xunmei.gen.domain.GenTable;
- import com.xunmei.system.api.domain.SysArea;
- import org.apache.ibatis.annotations.Param;
- import java.util.List;
- /**
- * 业务 数据层
- *
- * @author xunmei
- */
- public interface GenTableMapper extends BaseMapper<GenTable>
- {
- /**
- * 查询业务列表
- *
- * @param genTable 业务信息
- * @return 业务集合
- */
- List<GenTable> selectGenTableList(GenTable genTable);
- /**
- * 查询据库列表
- *
- * @param genTable 业务信息
- * @return 数据库表集合
- */
- List<GenTable> selectDbTableList(GenTable genTable);
- /**
- * 查询据库列表
- *
- * @param tableNames 表名称组
- * @return 数据库表集合
- */
- List<GenTable> selectDbTableListByNames(String[] tableNames);
- /**
- * 查询所有表信息
- *
- * @return 表信息集合
- */
- List<GenTable> selectGenTableAll();
- /**
- * 查询表ID业务信息
- *
- * @param id 业务ID
- * @return 业务信息
- */
- GenTable selectGenTableById(Long id);
- /**
- * 查询表名称业务信息
- *
- * @param tableName 表名称
- * @return 业务信息
- */
- GenTable selectGenTableByName(String tableName);
- /**
- * 新增业务
- *
- * @param genTable 业务信息
- * @return 结果
- */
- int insertGenTable(GenTable genTable);
- /**
- * 修改业务
- *
- * @param genTable 业务信息
- * @return 结果
- */
- int updateGenTable(GenTable genTable);
- /**
- * 批量删除业务
- *
- * @param ids 需要删除的数据ID
- * @return 结果
- */
- int deleteGenTableByIds(Long[] ids);
- Page<GenTable> selectPageData(Page<GenTable> page, @Param("genTable") GenTable genTable);
- }
|