| | |
| | | return R.ok(mgtDeptStaffListVoList); |
| | | } |
| | | |
| | | @RequestMapping(value = "/listMgtDeptStaffByPermission", method = RequestMethod.POST) |
| | | @ApiOperation(value = "通过权限获取部门员工列表") |
| | | public R<List<MgtDeptStaffListVo>> listMgtDeptStaffByPermission() { |
| | | Long userId = SecurityUtils.getUserId(); |
| | | List<MgtDeptStaffListVo> mgtDeptStaffListVoList= sysStaffService.listMgtDeptStaffByPermission(userId); |
| | | return R.ok(mgtDeptStaffListVoList); |
| | | } |
| | | |
| | | |
| | | @RequestMapping(value = "/pageMgtStaffSuggest", method = RequestMethod.POST) |
| | | @ApiOperation(value = "平台获取员工建议列表") |
| | |
| | | } |
| | | |
| | | @RequestMapping(value = "/mgtDeleteStaff", method = RequestMethod.POST) |
| | | @ApiOperation(value = "平台编辑员工") |
| | | @ApiOperation(value = "平台删除员工") |
| | | public R mgtStaffEdit(@RequestBody MgtBaseGetDto mgtBaseGetDto) { |
| | | Long userId = SecurityUtils.getUserId(); |
| | | mgtBaseGetDto.setUserId(userId); |