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