| | |
| | | /** |
| | | * 查询【请填写功能名称】列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:record:list')") |
| | | //@PreAuthorize("@ss.hasPermi('system:record:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceSubtaskRecord serviceSubtaskRecord) { |
| | | startPage(); |
| | |
| | | /** |
| | | * 导出【请填写功能名称】列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:record:export')") |
| | | //@PreAuthorize("@ss.hasPermi('system:record:export')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, ServiceSubtaskRecord serviceSubtaskRecord) { |
| | |
| | | /** |
| | | * 获取【请填写功能名称】详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:record:query')") |
| | | //@PreAuthorize("@ss.hasPermi('system:record:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(serviceSubtaskRecordService.selectServiceSubtaskRecordById(id)); |
| | |
| | | /** |
| | | * 新增【请填写功能名称】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:record:add')") |
| | | //@PreAuthorize("@ss.hasPermi('system:record:add')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody ServiceSubtaskRecord serviceSubtaskRecord) { |
| | |
| | | /** |
| | | * 修改【请填写功能名称】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:record:edit')") |
| | | //@PreAuthorize("@ss.hasPermi('system:record:edit')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody ServiceSubtaskRecord serviceSubtaskRecord) { |
| | |
| | | /** |
| | | * 删除【请填写功能名称】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:record:remove')") |
| | | //@PreAuthorize("@ss.hasPermi('system:record:remove')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |