| | |
| | | * 查询机构管理列表 |
| | | */ |
| | | @ApiOperation("获取机构列表") |
| | | //@PreAuthorize("@ss.hasPermi('project:organization:list')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organization:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(BaseOrganization baseOrganization) { |
| | | log.info("获取机构列表{}:", baseOrganization); |
| | |
| | | * 导出机构管理列表 |
| | | */ |
| | | @ApiOperation("导出机构信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organization:export')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organization:export')") |
| | | @Log(title = "机构管理", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(BaseOrganization baseOrganization) { |
| | |
| | | * 获取机构管理详细信息 |
| | | */ |
| | | @ApiOperation("通过机构id获取机构信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organization:query')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organization:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | log.info("获取机构管理详细信息{}:", id); |
| | |
| | | * 新增机构管理 |
| | | */ |
| | | @ApiOperation("新增机构信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organization:add')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organization:add')") |
| | | @Log(title = "机构管理", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | |
| | | * 修改机构管理 |
| | | */ |
| | | @ApiOperation("修改机构信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organization:edit')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organization:edit')") |
| | | @Log(title = "机构管理", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | |
| | | * 删除机构管理 |
| | | */ |
| | | @ApiOperation("删除机构信息") |
| | | //@PreAuthorize("@ss.hasPermi('project:organization:remove')") |
| | | //// @PreAuthorize("@ss.hasPermi('project:organization:remove')") |
| | | @Log(title = "机构管理", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |