| | |
| | | package com.lf.server.mapper.data; |
| | | |
| | | import com.lf.server.entity.ctrl.KeyValueEntity; |
| | | import com.lf.server.entity.ctrl.TabEntity; |
| | | import com.lf.server.entity.data.DictEntity; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | |
| | | * |
| | | * @param ns 表空间 |
| | | * @param tab 表名 |
| | | * @param limit 记录表 |
| | | * @param limit 记录数 |
| | | * @param offset 偏移量 |
| | | * @return 列表 |
| | | */ |
| | | public List<DictEntity> selectByPage(String ns, String tab, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 查询所有 |
| | | * |
| | | * @return |
| | | */ |
| | | public List<DictEntity> selectAll(); |
| | | |
| | | /** |
| | | * 根据ID查询 |
| | |
| | | /** |
| | | * 查询字典表结构 |
| | | * |
| | | * @param name |
| | | * @param field |
| | | * @return |
| | | */ |
| | | public List<KeyValueEntity> selectDictTab(); |
| | | public List<TabEntity> selectDictTab(String name, String field); |
| | | |
| | | /** |
| | | * 插入一条 |