| | |
| | | /** |
| | | * 查询院区信息列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:hosp:list')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:hosp:list')") |
| | | @GetMapping("/list") |
| | | @ApiOperation(value = "查询院区信息列表") |
| | | public TableDataInfo list(DictHosp dictHosp) { |
| | |
| | | /** |
| | | * 导出院区信息列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:hosp:export')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:hosp:export')") |
| | | @Log(title = "院区信息", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | @ApiOperation(value = "导出院区信息列表") |
| | |
| | | /** |
| | | * 获取院区信息详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:hosp:query')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:hosp:query')") |
| | | @GetMapping(value = "/{hospAreaId}") |
| | | @ApiOperation(value = "获取院区信息详细信息") |
| | | public AjaxResult getInfo(@PathVariable("hospAreaId") String hospAreaId) { |
| | |
| | | /** |
| | | * 新增院区信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:hosp:add')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:hosp:add')") |
| | | @Log(title = "院区信息", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @ApiOperation(value = "新增院区信息") |
| | |
| | | /** |
| | | * 修改院区信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:hosp:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:hosp:edit')") |
| | | @Log(title = "院区信息", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @ApiOperation(value = "修改院区信息") |
| | |
| | | /** |
| | | * 删除院区信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:hosp:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:hosp:remove')") |
| | | @Log(title = "院区信息", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{hospAreaIds}") |
| | | @ApiOperation(value = "删除院区信息") |