From f913d44fbf160caafde4de10a8406d7908dfecd6 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期一, 04 十二月 2023 09:19:24 +0800
Subject: [PATCH] 修改查询GDB文件接口

---
 src/main/java/com/moon/server/mapper/data/MetaMapper.java |   45 ++++++++++++++++++++++++++++++++-------------
 1 files changed, 32 insertions(+), 13 deletions(-)

diff --git a/src/main/java/com/moon/server/mapper/data/MetaMapper.java b/src/main/java/com/moon/server/mapper/data/MetaMapper.java
index 90a4dcc..d274c3d 100644
--- a/src/main/java/com/moon/server/mapper/data/MetaMapper.java
+++ b/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,36 @@
     /**
      * 鏌ヨ璁板綍鏁�
      *
-     * @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
@@ -118,6 +129,14 @@
     public MetaEntity selectById(int id);
 
     /**
+     * 鏍规嵁id瀛楃涓叉煡璇�
+     *
+     * @param ids id瀛楃涓�
+     * @return 鍏冩暟鎹泦鍚�
+     */
+    public List<MetaEntity> selectByIds(String ids);
+
+    /**
      * 鏍规嵁GUID鏌ヨ
      *
      * @param guid    鏂囦欢GUID
@@ -141,7 +160,7 @@
      * @param ids 鍏冩暟鎹甀D闆嗗悎
      * @return 鍏冩暟鎹枃浠堕泦鍚�
      */
-    public List<MetaEntity> selectMetaFiles(List<Integer> ids);
+    public List<MetaEntity> selectMetaFiles(String ids);
 
     /**
      * 鏌ヨExcel鍏冩暟鎹�

--
Gitblit v1.9.3