管道基础大数据平台系统开发-【后端】-Server
13693261870
2024-03-25 b6b0cb226fcf184525ee7b36af3a09471e9c0057
src/main/java/com/lf/server/mapper/data/DictMapper.java
@@ -1,5 +1,6 @@
package com.lf.server.mapper.data;
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;
@@ -27,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查询
@@ -49,6 +43,15 @@
    public DictEntity selectById(int id);
    /**
     * 查询字典表结构
     *
     * @param name
     * @param field
     * @return
     */
    public List<TabEntity> selectDictTab(String name, String field);
    /**
     * 插入一条
     *
     * @param entity