管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2024-12-18 0c8cd957630d43aa71183d34ecb1faf60689f8a4
src/main/java/com/lf/server/mapper/data/DictMapper.java
@@ -1,6 +1,6 @@
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;
@@ -28,18 +28,11 @@
     *
     * @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查询
@@ -52,9 +45,11 @@
    /**
     * 查询字典表结构
     *
     * @param name
     * @param field
     * @return
     */
    public List<KeyValueEntity> selectDictTab();
    public List<TabEntity> selectDictTab(String name, String field);
    /**
     * 插入一条