| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * |
| | | * name:Position |
| | | * package:cc.mrbird.febs.server.system.controller |
| | | * description:岗位信息控制器 |
| | |
| | | @ApiOperation(value = "岗位信息翻页列表") |
| | | @GetMapping |
| | | public FebsResponse getAllPositions(QueryRequest request,Position position) { |
| | | Map |
| | | <String, Object> dataTable = FebsUtil.getDataTable(this.positionService.findPositions(request, position)); |
| | | Map<String, Object> dataTable = FebsUtil.getDataTable(this.positionService.findPositions(request, position)); |
| | | return new FebsResponse().data(dataTable); |
| | | } |
| | | |
| | |
| | | throw new FebsException(message); |
| | | } |
| | | } |
| | | |
| | | @GetMapping("dicJob") |
| | | public FebsResponse selectDicJobs() { |
| | | return new FebsResponse().data(positionService.selectDicJobs()); |
| | | } |
| | | } |