From d6ee0e1e4a5d0c61565b2af954a1845f2022d85f Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Thu, 26 Aug 2021 09:08:37 +0800
Subject: [PATCH] 二维码接口修改(中文不识别),保安员查询新增帅选条件

---
 src/main/java/org/springblade/modules/system/mapper/DeptMapper.java |   23 ++++++++++++++++++++++-
 1 files changed, 22 insertions(+), 1 deletions(-)

diff --git a/src/main/java/org/springblade/modules/system/mapper/DeptMapper.java b/src/main/java/org/springblade/modules/system/mapper/DeptMapper.java
index 6dc5a5d..da5b886 100644
--- a/src/main/java/org/springblade/modules/system/mapper/DeptMapper.java
+++ b/src/main/java/org/springblade/modules/system/mapper/DeptMapper.java
@@ -117,5 +117,26 @@
 	 */
 	@MapKey(value = "id")
 	@SqlParser(filter=true)
-	Map<Long, TreeNodes> lazyTreeUsers(@Param("parentId") Long parentId);
+	Map<Long, TreeNodes> lazyTreeUsers(@Param("type") Integer type,
+									   @Param("deptId") Long deptId,
+									   @Param("jurisdiction")String jurisdiction);
+
+	/**
+	 * 懒加载获取部门树形结构(包含用户数据),只查下一级的数据
+	 * @return
+	 */
+	@MapKey(value = "id")
+	@SqlParser(filter=true)
+	Map<Long, TreeNodes> lazyTreeUsersPublicSecurity(@Param("type") Integer type,
+													 @Param("deptId") Long deptId,
+													 @Param("jurisdiction")String jurisdiction);
+	/**
+	 * 懒加载获取部门树形结构(包含用户数据),只查下一级的数据
+	 * @return
+	 */
+	@MapKey(value = "id")
+	@SqlParser(filter=true)
+	Map<Long, TreeNodes> lazyTreeUsersPublicSecuritys(@Param("type") Integer type,
+													  @Param("deptId") Long deptId,
+													  @Param("jurisdiction")String jurisdiction);
 }

--
Gitblit v1.9.3