| | |
| | | /** |
| | | * 查询体检采样管理列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('sampling:sampling:list')") |
| | | //@PreAuthorize("@ss.hasPermi('sampling:sampling:list')") |
| | | @GetMapping("/list") |
| | | @ApiOperation(value = "查询体检采样管理列表(自带默认)") |
| | | public TableDataInfo list(TjSampling tjSampling) { |
| | |
| | | /** |
| | | * 导出体检采样管理列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('sampling:sampling:export')") |
| | | //@PreAuthorize("@ss.hasPermi('sampling:sampling:export')") |
| | | @Log(title = "体检采样管理", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | @ApiOperation(value = "导出体检采样管理列表") |
| | |
| | | /** |
| | | * 获取体检采样管理详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('sampling:sampling:query')") |
| | | //@PreAuthorize("@ss.hasPermi('sampling:sampling:query')") |
| | | @GetMapping(value = "/{id}") |
| | | @ApiOperation(value = "获取体检采样管理详细信息") |
| | | public AjaxResult getInfo(@PathVariable("id") String id) { |
| | |
| | | /** |
| | | * 新增体检采样管理 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('sampling:sampling:add')") |
| | | //@PreAuthorize("@ss.hasPermi('sampling:sampling:add')") |
| | | @Log(title = "体检采样管理", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @ApiOperation(value = "新增体检采样管理") |
| | |
| | | /** |
| | | * 修改体检采样管理 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('sampling:sampling:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('sampling:sampling:edit')") |
| | | @Log(title = "体检采样管理", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @ApiOperation(value = "修改体检采样管理") |
| | |
| | | /** |
| | | * 删除体检采样管理 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('sampling:sampling:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('sampling:sampling:remove')") |
| | | @Log(title = "体检采样管理", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @ApiOperation(value = "删除体检采样管理") |