| | |
| | | return ywPeopleService.remove(ids); |
| | | } |
| | | |
| | | @PreAuthorize("@ss.hasPermi('unit:people:page')") |
| | | // @PreAuthorize("@ss.hasPermi('unit:people:page')") |
| | | @GetMapping("/page") |
| | | @ApiOperation(value = "分页", notes = "分页") |
| | | public Result page(YwPeopleQuery query) { |
| | |
| | | return ywPeopleService.detail(id); |
| | | } |
| | | |
| | | @GetMapping("/getPeopleByUnitId/{id}") |
| | | @ApiOperation(value = "详情", notes = "详情") |
| | | public Result getPeopleByUnitId(@PathVariable("id") String id) { |
| | | return ywPeopleService.getPeopleByUnitId(id); |
| | | } |
| | | |
| | | @GetMapping("/list") |
| | | @ApiOperation(value = "列表", notes = "列表") |
| | | public Result list() { |