月球大数据地理空间分析展示平台-【后端】-月球后台服务
13693261870
2023-12-04 f913d44fbf160caafde4de10a8406d7908dfecd6
src/main/java/com/moon/server/mapper/data/MetaMapper.java
@@ -4,6 +4,7 @@
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.util.Date;
import java.util.List;
/**
@@ -16,26 +17,44 @@
    /**
     * 查询记录数
     *
     * @param depcode 单位编码
     * @param dircode 目录编码
     * @param verid   版本ID
     * @param name    名称
     * @param depcode    单位编码
     * @param dircode    目录编码
     * @param verid      版本ID
     * @param name       名称
     * @param sensorType 传感器类型
     * @param mataType   元数据类型
     * @param startDate  开始日期
     * @param endDate    结束日期
     * @param wkt        WKT
     * @return 记录数
     */
    public Integer selectCount(String depcode, String dircode, Integer verid, String name);
    public Integer selectCount(String depcode, String dircode, Integer verid, String name, Integer sensorType, Integer mataType, Date startDate, Date endDate, String wkt);
    /**
     * 分页查询
     *
     * @param depcode 单位编码
     * @param dircode 目录编码
     * @param verid   版本ID
     * @param name    名称
     * @param limit   记录数
     * @param offset  偏移量
     * @param depcode    单位编码
     * @param dircode    目录编码
     * @param verid      版本ID
     * @param name       名称
     * @param sensorType 传感器类型
     * @param mataType   元数据类型
     * @param startDate  开始日期
     * @param endDate    结束日期
     * @param wkt        WKT
     * @param limit      记录数
     * @param offset     偏移量
     * @return 列表
     */
    public List<MetaEntity> selectByPage(String depcode, String dircode, Integer verid, String name, Integer limit, Integer offset);
    public List<MetaEntity> selectByPage(String depcode, String dircode, Integer verid, String name, Integer sensorType, Integer mataType, Date startDate, Date endDate, String wkt, Integer limit, Integer offset);
    /**
     * 根据GUID查询GDB
     *
     * @param guid
     * @return
     */
    public List<MetaEntity> selectGdbByGuid(String guid);
    /**
     * 查询记录数
@@ -110,6 +129,14 @@
    public MetaEntity selectById(int id);
    /**
     * 根据id字符串查询
     *
     * @param ids id字符串
     * @return 元数据集合
     */
    public List<MetaEntity> selectByIds(String ids);
    /**
     * 根据GUID查询
     *
     * @param guid    文件GUID
@@ -133,7 +160,7 @@
     * @param ids 元数据ID集合
     * @return 元数据文件集合
     */
    public List<MetaEntity> selectMetaFiles(List<Integer> ids);
    public List<MetaEntity> selectMetaFiles(String ids);
    /**
     * 查询Excel元数据