| | |
| | | // * 查询人员和分组组别关联列表 |
| | | // */ |
| | | // @ApiOperation("查询人员和分组组别关联列表") |
| | | // @PreAuthorize("@ss.hasPermi('system:group:list')") |
| | | // // @PreAuthorize("@ss.hasPermi('system:group:list')") |
| | | // @GetMapping("/list") |
| | | // public TableDataInfo list(ServiceExternalpersonGroup serviceExternalpersonGroup) { |
| | | // startPage(); |
| | |
| | | * 导出人员和分组组别关联列表 |
| | | */ |
| | | @ApiOperation("导出人员和分组组别关联列表") |
| | | @PreAuthorize("@ss.hasPermi('system:group:export')") |
| | | // @PreAuthorize("@ss.hasPermi('system:group:export')") |
| | | @Log(title = "人员和分组组别关联", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceExternalpersonGroup serviceExternalpersonGroup) { |
| | |
| | | * 获取人员和分组组别关联详细信息 |
| | | */ |
| | | @ApiOperation("获取人员和分组组别关联详细信息") |
| | | @PreAuthorize("@ss.hasPermi('system:group:query')") |
| | | // @PreAuthorize("@ss.hasPermi('system:group:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceExternalpersonGroupService.getById(id)); |
| | |
| | | * 新增人员和分组组别关联 |
| | | */ |
| | | @ApiOperation("新增人员和分组组别关联") |
| | | @PreAuthorize("@ss.hasPermi('system:group:add')") |
| | | // @PreAuthorize("@ss.hasPermi('system:group:add')") |
| | | @Log(title = "人员和分组组别关联", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | | public AjaxResult add(@RequestBody ServiceExternalpersonGroup serviceExternalpersonGroup) { |
| | | return toAjax(serviceExternalpersonGroupService.save(serviceExternalpersonGroup)); |
| | | boolean save = serviceExternalpersonGroupService.save(serviceExternalpersonGroup); |
| | | return AjaxResult.success(serviceExternalpersonGroup); |
| | | } |
| | | |
| | | /** |
| | | * 修改人员和分组组别关联 |
| | | */ |
| | | @ApiOperation("修改人员和分组组别关联") |
| | | @PreAuthorize("@ss.hasPermi('system:group:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('system:group:edit')") |
| | | @Log(title = "人员和分组组别关联", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除人员和分组组别关联 |
| | | */ |
| | | @ApiOperation("删除人员和分组组别关联") |
| | | @PreAuthorize("@ss.hasPermi('system:group:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('system:group:remove')") |
| | | @Log(title = "人员和分组组别关联", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |