From 05caa47bb77fdf4012067e159432defa5e38368e Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期五, 12 七月 2024 18:26:38 +0800
Subject: [PATCH] 设置可管理派出所三级单位

---
 src/main/java/com/mindskip/xzs/service/UserService.java |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/mindskip/xzs/service/UserService.java b/src/main/java/com/mindskip/xzs/service/UserService.java
index 7c77c1a..0b5753f 100644
--- a/src/main/java/com/mindskip/xzs/service/UserService.java
+++ b/src/main/java/com/mindskip/xzs/service/UserService.java
@@ -144,4 +144,26 @@
     List<Department> getDeptAdmins(Integer id);
 
     User getUserByExamByTemplateId(ExamPaper examPaper);
+
+    /**
+     * 鑾峰彇鐢ㄦ埛鎵�鍦ㄩ儴闂�
+     *
+     * @param id
+     * @return
+     */
+    List<Integer> getDeptIds(Integer id);
+
+    /**
+     * 鑾峰彇闇�瑕佽ˉ鑰冪殑鐢ㄦ埛
+     * @param examPaperId 璇曞嵎id
+     * @return 鐢ㄦ埛涓嬫媺
+     */
+    List<User> getFailExamUser(Integer examPaperId);
+
+    /**
+     * 鑾峰彇闇�瑕佽ˉ鑰冪殑鐢ㄦ埛
+     * @param templateId 闅忔満璇曞嵎id
+     * @return 鐢ㄦ埛涓嬫媺
+     */
+    List<User> getFailTemplateUser(Integer templateId);
 }

--
Gitblit v1.8.0