| | |
| | | |
| | | @PreAuthorize("@ss.hasPermi('system:records:edit')") |
| | | @Log(title = "修改状态", businessType = BusinessType.IMPORT) |
| | | @GetMapping(value = "/updateStatusById/{id}") |
| | | public AjaxResult updateStatusById(@PathVariable("id") String id) |
| | | @GetMapping(value = "/updateStatusById/{status}/{id}") |
| | | public AjaxResult updateStatusById(@PathVariable("status") String status,@PathVariable("id") String id) |
| | | { |
| | | return new AjaxResult(200, archiveRecordsService.updateArchiveById(Long.parseLong(id))+""); |
| | | return new AjaxResult(200, archiveRecordsService.updateArchiveById(status, Long.parseLong(id))+""); |
| | | } |
| | | |
| | | |