| | |
| | | * 查询体检配餐 |
| | | * 列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('catering:catering:list')") |
| | | // @PreAuthorize("@ss.hasPermi('catering:catering:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(TjCatering tjCatering) { |
| | | startPage(); |
| | |
| | | * 导出体检配餐 |
| | | 列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('catering:catering:export')") |
| | | // @PreAuthorize("@ss.hasPermi('catering:catering:export')") |
| | | @Log(title = "体检配餐", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, TjCatering tjCatering) { |
| | |
| | | * 获取体检配餐 |
| | | * 详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('catering:catering:query')") |
| | | // @PreAuthorize("@ss.hasPermi('catering:catering:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") String id) { |
| | | return success(tjCateringService.selectTjCateringById(id)); |
| | |
| | | * 新增体检配餐 |
| | | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('catering:catering:add')") |
| | | // @PreAuthorize("@ss.hasPermi('catering:catering:add')") |
| | | @Log(title = "体检配餐", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody TjCatering tjCatering){ |
| | |
| | | /** |
| | | * 修改体检配餐 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('catering:catering:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('catering:catering:edit')") |
| | | @Log(title = "体检配餐", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody TjCatering tjCatering){ |
| | |
| | | /** |
| | | * 删除体检配餐 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('catering:catering:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('catering:catering:remove')") |
| | | @Log(title = "体检配餐", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable String[]ids) { |