【添加】添加接口 1、根据部门id查询部门所有的父级(不包含自己)2、根据部门id查询部门所有的子级(不包含自己)
This commit is contained in:
+18
@@ -281,4 +281,22 @@ public interface ISysBaseAPI extends CommonAPI {
|
||||
*/
|
||||
void sendEmailMsg(String email,String title,String content);
|
||||
|
||||
/**
|
||||
* 41根据部门id查询部门所有的父级(不包含自己)
|
||||
* @author 马志朝
|
||||
* @date 2021/3/24 8:50
|
||||
* @param departId 部门id
|
||||
* @return JSONObject
|
||||
*/
|
||||
List<JSONObject> listParentDepartsByDepId(String departId);
|
||||
|
||||
/**
|
||||
* 42根据部门id查询部门所有的子级(不包含自己)
|
||||
* @author 马志朝
|
||||
* @date 2021/3/24 8:54
|
||||
* @param departId 部门id
|
||||
* @return JSONObject
|
||||
*/
|
||||
List<JSONObject> listSonDepartsByDepId(String departId);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user