管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-02-16 a39c7b9256e163f69764df58782a0cb920711a9f
src/main/java/com/lf/server/mapper/all/BaseQueryMapper.java
@@ -4,6 +4,7 @@
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 org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
@@ -43,20 +44,22 @@
    /**
     * 根据表名查询记录数
     *
     * @param tab 表名
     * @return 记录数
     * @param tab    表名
     * @param filter 过滤条件
     * @return
     */
    public Integer selectTabsForCount(String tab);
    public Integer selectTabsForCount(String tab, String filter);
    /**
     * 根据表名分页查询
     *
     * @param tab    表名
     * @param filter 过滤条件
     * @param limit  记录数
     * @param offset 偏移量
     * @return
     */
    public List<TabEntity> selectTabsByPage(String tab, Integer limit, Integer offset);
    public List<TabEntity> selectTabsByPage(String tab, String filter, Integer limit, Integer offset);
    /**
     * 查询字段信息
@@ -94,4 +97,25 @@
     * @return 位置
     */
    public List<KeyValueEntity> selectLocation(String wkt);
    /**
     * 查询基础地理类别
     *
     * @return
     */
    public List<KeyValueEntity> selectBaseType();
    /**
     * 查询业务类别
     *
     * @return
     */
    public List<KeyValueEntity> selectBusinessType();
    /**
     * 查询项目
     *
     * @return
     */
    public List<KeyValueEntity> selectProject();
}