| | |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('system:record:edit')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody ServiceSubtaskRecord serviceSubtaskRecord) { |
| | | return toAjax(serviceSubtaskRecordService.updateServiceSubtaskRecord(serviceSubtaskRecord)); |
| | | } |
| | |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('system:record:remove')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(serviceSubtaskRecordService.deleteServiceSubtaskRecordByIds(ids)); |
| | | } |