| | |
| | | String DEPT_NAME = API_PREFIX + "/dept-name"; |
| | | String DEPT_NAMES = API_PREFIX + "/dept-names"; |
| | | String DEPT_CHILD = API_PREFIX + "/dept-child"; |
| | | String DEPT_ALL = API_PREFIX + "/dept-all"; |
| | | String POST = API_PREFIX + "/post"; |
| | | String POST_IDS = API_PREFIX + "/post-ids"; |
| | | String POST_IDS_FUZZY = API_PREFIX + "/post-ids-fuzzy"; |
| | |
| | | String PARAM = API_PREFIX + "/param"; |
| | | String PARAM_VALUE = API_PREFIX + "/param-value"; |
| | | String REGION = API_PREFIX + "/region"; |
| | | |
| | | String UPDATE_DEPT_BY_TB = API_PREFIX + "updateDeptByTb"; |
| | | String GET_RES_DEPT = API_PREFIX + "getResDept"; |
| | | |
| | | /** |
| | | * 获取菜单 |
| | |
| | | */ |
| | | @GetMapping(DEPT_CHILD) |
| | | R<List<Dept>> getDeptChild(@RequestParam("deptId") Long deptId); |
| | | |
| | | @GetMapping(DEPT_ALL) |
| | | R<List<Dept>> getDeptAll(); |
| | | |
| | | /** |
| | | * 获取岗位 |
| | |
| | | @GetMapping(REGION) |
| | | R<Region> getRegion(@RequestParam("code") String code); |
| | | |
| | | @GetMapping(UPDATE_DEPT_BY_TB) |
| | | boolean updateDeptByTb(@RequestParam("adCode") String adCode, @RequestParam("resGuid") String resGuid); |
| | | |
| | | @GetMapping(GET_RES_DEPT) |
| | | String getResDept(@RequestParam("deptIds") String deptIds); |
| | | } |