ruoyi-admin/src/main/java/com/ruoyi/web/controller/archive/ArchiveRecordsController.java
@@ -144,4 +144,12 @@ return archiveRecordsService.importExcel(file); } @PreAuthorize("@ss.hasPermi('system:records:edit')") @Log(title = "修改状态", businessType = BusinessType.IMPORT) @GetMapping(value = "/updateStatusById/{id}") public AjaxResult updateStatusById(@PathVariable("id") String id) { return new AjaxResult(200, archiveRecordsService.updateArchiveById(Long.parseLong(id))+""); } }