From 8cdd6aa032dd72c5101099b7e8f156394e90b83c Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期一, 30 一月 2023 16:15:41 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/mapper/all/BaseQueryMapper.java | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 49 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 d0ebf64..b977984 100644 --- a/src/main/java/com/lf/server/mapper/all/BaseQueryMapper.java +++ b/src/main/java/com/lf/server/mapper/all/BaseQueryMapper.java @@ -2,6 +2,8 @@ import com.lf.server.entity.ctrl.IdNameEntity; import com.lf.server.entity.ctrl.TabEntity; +import com.lf.server.entity.data.DictEntity; +import com.lf.server.entity.data.DomainEntity; import org.apache.ibatis.annotations.Mapper; import org.springframework.stereotype.Repository; @@ -36,4 +38,51 @@ * @return */ 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 鍚嶇О绌洪棿 + * @param tab 琛ㄥ悕 + * @return 瀹炰綋绫婚泦鍚� + */ + public List<DictEntity> selectFields(String ns, String tab); + + /** + * 鏌ヨ鍊煎煙淇℃伅 + * + * @param ns 鍚嶇О绌洪棿 + * @param tab 琛ㄥ悕 + * @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); } -- Gitblit v1.9.3