| | |
| | | /** |
| | | * 查询体检项目对比列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:contrast:list')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:contrast:list')") |
| | | @GetMapping("/list") |
| | | @ApiOperation(value = "查询体检项目对比列表(页面展示用)") |
| | | public TableDataInfo list(TjProContrast tjProContrast) { |
| | |
| | | /** |
| | | * 查询体检项目对比列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:contrast:list')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:contrast:list')") |
| | | @GetMapping("/getList") |
| | | @ApiOperation(value = "查询体检项目对比列表(数据对比展示处用)") |
| | | public AjaxResult getList() { |
| | |
| | | /** |
| | | * 导出体检项目对比列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:contrast:export')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:contrast:export')") |
| | | @Log(title = "体检项目对比", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, TjProContrast tjProContrast) { |
| | |
| | | /** |
| | | * 获取体检项目对比详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:contrast:query')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:contrast:query')") |
| | | @GetMapping(value = "/{id}") |
| | | @ApiOperation(value = "获取体检项目对比详细信息") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | |
| | | /** |
| | | * 新增体检项目对比 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:contrast:add')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:contrast:add')") |
| | | @Log(title = "体检项目对比", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @ApiOperation(value = "新增体检项目对比") |
| | |
| | | /** |
| | | * 修改体检项目对比 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:contrast:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:contrast:edit')") |
| | | @Log(title = "体检项目对比", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @ApiOperation(value = "修改体检项目对比") |
| | |
| | | /** |
| | | * 删除体检项目对比 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:contrast:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:contrast:remove')") |
| | | @Log(title = "体检项目对比", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @ApiOperation(value = "删除体检项目对比") |