From d91c78e445e49cda5430bd33ef281f60f56a0a2d Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期日, 05 二月 2023 20:09:10 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/mapper/all/BaseQueryMapper.java | 70 +++++++++++++++++++++++++++++++++++ 1 files changed, 70 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/lf/server/mapper/all/BaseQueryMapper.java b/src/main/java/com/lf/server/mapper/all/BaseQueryMapper.java index ebc56df..dfde67f 100644 --- a/src/main/java/com/lf/server/mapper/all/BaseQueryMapper.java +++ b/src/main/java/com/lf/server/mapper/all/BaseQueryMapper.java @@ -1,8 +1,10 @@ package com.lf.server.mapper.all; import com.lf.server.entity.ctrl.IdNameEntity; +import com.lf.server.entity.ctrl.KeyValueEntity; import com.lf.server.entity.ctrl.TabEntity; import com.lf.server.entity.data.DictEntity; +import com.lf.server.entity.data.DirEntity; import com.lf.server.entity.data.DomainEntity; import org.apache.ibatis.annotations.Mapper; import org.springframework.stereotype.Repository; @@ -40,6 +42,24 @@ public List<TabEntity> selectTabs(); /** + * 鏍规嵁琛ㄥ悕鏌ヨ璁板綍鏁� + * + * @param tab 琛ㄥ悕 + * @return 璁板綍鏁� + */ + public Integer selectTabsForCount(String tab); + + /** + * 鏍规嵁琛ㄥ悕鍒嗛〉鏌ヨ + * + * @param tab 琛ㄥ悕 + * @param limit 璁板綍鏁� + * @param offset 鍋忕Щ閲� + * @return + */ + public List<TabEntity> selectTabsByPage(String tab, Integer limit, Integer offset); + + /** * 鏌ヨ瀛楁淇℃伅 * * @param ns 鍚嶇О绌洪棿 @@ -56,4 +76,54 @@ * @return 瀹炰綋绫婚泦鍚� */ public List<DomainEntity> selectDomains(String ns, String tab); + + /** + * 鏌ヨ璺綉 + * + * @param x1 X1 + * @param y1 Y1 + * @param x2 X2 + * @param y2 Y2 + * @return 澶氱嚎 + */ + public String selectRoute(double x1, double y1, double x2, double y2); + + /** + * 鏌ヨ浣嶇疆 + * + * @param wkt WKT瀛楃涓� + * @return 浣嶇疆 + */ + public List<KeyValueEntity> selectLocation(String wkt); + + /** + * 鏌ヨ鍩虹鍦扮悊绫诲埆 + * + * @return + */ + public List<KeyValueEntity> selectBaseType(); + + /** + * 鏌ヨ涓氬姟绫诲埆 + * + * @return + */ + public List<KeyValueEntity> selectBusinessType(); + + /** + * 鏌ヨ椤圭洰 + * + * @return + */ + public List<KeyValueEntity> selectProject(); + + /** + * 鏌ヨ瀛楀吀琛ㄥ苟缁熻璁板綍 + * + * @param name + * @param dirs + * @param depid + * @return + */ + public List<DictEntity> selectTabCount(String name, String dirs, Integer depid); } -- Gitblit v1.9.3