30 lines
719 B
Java
30 lines
719 B
Java
package com.youlai.system.mapper;
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.youlai.system.model.entity.SysDept;
|
|
import com.youlai.system.model.query.TablePageQuery;
|
|
import com.youlai.system.model.vo.TableColumnVO;
|
|
import com.youlai.system.model.vo.TablePageVO;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
* 数据库 Mapper 接口
|
|
*
|
|
* @author ray
|
|
* @since 2.10.0
|
|
*/
|
|
@Mapper
|
|
public interface DatabaseMapper extends BaseMapper<SysDept> {
|
|
|
|
|
|
Page<TablePageVO> getTablePage(Page<TablePageVO> page, TablePageQuery queryParams);
|
|
|
|
List<TableColumnVO> getTableColumns(String tableName);
|
|
|
|
|
|
}
|