【添加】添加接口 1、根据部门id查询部门所有的父级(不包含自己)2、根据部门id查询部门所有的子级(不包含自己)

This commit is contained in:
mazhichao
2021-03-24 16:43:07 +08:00
parent 0c13478431
commit 8ab084ad89
4 changed files with 134 additions and 18 deletions
@@ -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);
}