| | |
| | | /** |
| | | * 查询机构信息列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:org:list')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:org:list')") |
| | | @GetMapping("/list") |
| | | @ApiOperation(value = "查询机构信息列表") |
| | | public TableDataInfo list(@ApiParam(value = "机构对象") DictOrg dictOrg) { |
| | |
| | | /** |
| | | * 导出机构信息列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:org:export')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:org:export')") |
| | | @Log(title = "机构信息", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | @ApiOperation(value = "导出机构信息列表") |
| | |
| | | /** |
| | | * 获取机构信息详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:org:query')") |
| | | // @PreAuthorize("@ss.hasPermi('hosp:org:query')") |
| | | @GetMapping(value = "/{orgId}") |
| | | @ApiOperation(value = "获取机构信息详细信息") |
| | | public AjaxResult getInfo(@PathVariable("orgId") String orgId) { |
| | |
| | | /** |
| | | * 新增机构信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:org:add')") |
| | | // @PreAuthorize("@ss.hasPermi('hosp:org:add')") |
| | | @Log(title = "机构信息", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @ApiOperation(value = "新增机构信息") |
| | |
| | | /** |
| | | * 修改机构信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:org:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('hosp:org:edit')") |
| | | @Log(title = "机构信息", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @ApiOperation(value = "修改机构信息") |
| | |
| | | /** |
| | | * 删除机构信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:org:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('hosp:org:remove')") |
| | | @Log(title = "机构信息", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{orgIds}") |
| | | @ApiOperation(value = "删除机构信息") |