From e002c67732b571f0b20cca8321ca8ee1ddba2e05 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期一, 14 八月 2023 17:05:23 +0800 Subject: [PATCH] 修改文件上传、GDB/Shp数据读取、数据入库、元数据管理等接口 --- src/main/java/com/moon/server/mapper/data/PublishMapper.java | 25 +++++++++++++++++++------ 1 files changed, 19 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/moon/server/mapper/data/PublishMapper.java b/src/main/java/com/moon/server/mapper/data/PublishMapper.java index 0499a8e..207a84f 100644 --- a/src/main/java/com/moon/server/mapper/data/PublishMapper.java +++ b/src/main/java/com/moon/server/mapper/data/PublishMapper.java @@ -17,20 +17,24 @@ /** * 鏌ヨ璁板綍鏁� * - * @param name 鍚嶇О + * @param name 鍚嶇О + * @param dircode 鐩綍缂栫爜 + * @param type 绫诲埆 * @return 璁板綍鏁� */ - public Integer selectCount(String name); + public Integer selectCount(String name, String dircode, String type); /** * 鍒嗛〉鏌ヨ * - * @param name 鍚嶇О - * @param limit 璁板綍鏁� - * @param offset 鍋忕Щ閲� + * @param name 鍚嶇О + * @param dircode 鐩綍缂栫爜 + * @param type 绫诲埆 + * @param limit 璁板綍鏁� + * @param offset 鍋忕Щ閲� * @return 鍒楄〃 */ - public List<PublishEntity> selectByPage(String name, Integer limit, Integer offset); + public List<PublishEntity> selectByPage(String name, String dircode, String type, Integer limit, Integer offset); /** * 鏌ヨ鎵�鏈� @@ -56,6 +60,15 @@ public List<PublishEntity> selectByIds(String ids); /** + * 鏍规嵁鐩綍鏌ヨDOM鍜孌EM鐨勭紪鐮� + * + * @param dircode 鐩綍 + * @param isDom 1-DOM锛�0-DEM + * @return + */ + public List<String> selectCodesForDir(String dircode, Integer isDom); + + /** * 鎻掑叆涓�鏉� * * @param entity -- Gitblit v1.9.3