| | |
| | | import com.lf.server.entity.ctrl.KeyValueEntity; |
| | | import com.lf.server.entity.ctrl.TabEntity; |
| | | import com.lf.server.entity.data.DictEntity; |
| | | import com.lf.server.entity.data.DirEntity; |
| | | import com.lf.server.entity.data.DomainEntity; |
| | | import com.lf.server.entity.sys.AttachEntity; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | |
| | | public List<IdNameEntity> selectDepFuzzy(String name); |
| | | |
| | | /** |
| | | * 查询所有表 |
| | | * |
| | | * @return |
| | | */ |
| | | public List<TabEntity> selectTabs(); |
| | | |
| | | /** |
| | | * 根据表名查询记录数 |
| | | * |
| | | * @param tab 表名 |
| | | * @param tab 表名 |
| | | * @param typesFilter 类别 |
| | | * @param field 字段 |
| | | * @return |
| | | */ |
| | | public Integer selectTabsForCount(String tab); |
| | | public Integer selectTabsForCount(String tab, String typesFilter, String field); |
| | | |
| | | /** |
| | | * 根据表名分页查询 |
| | | * |
| | | * @param tab 表名 |
| | | * @param filters 过滤条件 |
| | | * @param limit 记录数 |
| | | * @param offset 偏移量 |
| | | * @param tab 表名 |
| | | * @param typesFilter 类别 |
| | | * @param field 字段 |
| | | * @param filters 过滤条件 |
| | | * @param limit 记录数 |
| | | * @param offset 偏移量 |
| | | * @return |
| | | */ |
| | | public List<TabEntity> selectTabsByPage(String tab, String filters, Integer limit, Integer offset); |
| | | public List<TabEntity> selectTabsByPage(String tab, String typesFilter, String field, String filters, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 查询字段信息 |
| | |
| | | public List<KeyValueEntity> selectLocation(String wkt); |
| | | |
| | | /** |
| | | * 查询基础地理类别 |
| | | * 查询目录类别 |
| | | * |
| | | * @param name |
| | | * @return |
| | | */ |
| | | public List<KeyValueEntity> selectBaseType(); |
| | | public List<KeyValueEntity> selectDirTypes(String name); |
| | | |
| | | /** |
| | | * 查询业务类别 |
| | | * 根据资料类别查询目录 |
| | | * |
| | | * @param types |
| | | * @param dirs |
| | | * @return |
| | | */ |
| | | public List<KeyValueEntity> selectBusinessType(); |
| | | public List<KeyValueEntity> selectDirsByTypes(String types, String dirs); |
| | | |
| | | /** |
| | | * 查询项目 |
| | | * 根据表名查询附件 |
| | | * |
| | | * @return |
| | | * @param tab 表名 |
| | | * @param gids Gid字符串 |
| | | * @return 附件 |
| | | */ |
| | | public List<KeyValueEntity> selectProject(); |
| | | public List<AttachEntity> selectAnnexByTab(String tab, String gids); |
| | | } |