| | |
| | | import com.ruoyi.system.domain.dto.MgtReplayStaffSuggestDto; |
| | | import com.ruoyi.system.domain.dto.MgtStaffSuggestPageDto; |
| | | import com.ruoyi.system.domain.dto.MgtTagStaffSuggestDto; |
| | | import com.ruoyi.system.domain.vo.MgtDeptStaffListVo; |
| | | import com.ruoyi.system.domain.vo.MgtStaffSuggestPageVo; |
| | | import com.ruoyi.system.domain.vo.MgtStaffSuggestTagVo; |
| | | import com.ruoyi.system.service.config.StaffSuggestService; |
| | | import com.ruoyi.system.service.staff.SysStaffService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | |
| | | public class MgtStaffController { |
| | | |
| | | |
| | | |
| | | @Resource |
| | | private StaffSuggestService staffSuggestService; |
| | | |
| | | /*@RequestMapping(value = "/listMgtDeptStaff", method = RequestMethod.POST) |
| | | @Resource |
| | | private SysStaffService sysStaffService; |
| | | |
| | | @RequestMapping(value = "/listMgtDeptStaff", method = RequestMethod.POST) |
| | | @ApiOperation(value = "获取部门员工列表") |
| | | public R<List<MgtDeptStaffListVo>> listMgtStaffSuggestTag(@RequestBody MgtBaseGetDto mgtBaseGetDto) { |
| | | List<MgtStaffSuggestTagVo> mgtStaffSuggestTagVoList= staffSuggestService.listMgtStaffSuggestTag(Long.valueOf(mgtBaseGetDto.getId())); |
| | | return R.ok(mgtStaffSuggestTagVoList); |
| | | }*/ |
| | | public R<List<MgtDeptStaffListVo>> listMgtDeptStaff() { |
| | | List<MgtDeptStaffListVo> mgtDeptStaffListVoList= sysStaffService.listMgtDeptStaff(); |
| | | return R.ok(mgtDeptStaffListVoList); |
| | | } |
| | | |
| | | |
| | | @RequestMapping(value = "/pageMgtStaffSuggest", method = RequestMethod.POST) |