From 27f5356ba11e2400aac493502f1c5ba1fb47775b Mon Sep 17 00:00:00 2001
From: fei <791364011@qq.com>
Date: 星期二, 14 十月 2025 16:55:48 +0800
Subject: [PATCH] Merge branch 'master' of http://47.93.189.255:8099/r/archiveSystem

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/archive/ArchiveRecordsController.java |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/archive/ArchiveRecordsController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/archive/ArchiveRecordsController.java
index 4140d52..f50a90b 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/archive/ArchiveRecordsController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/archive/ArchiveRecordsController.java
@@ -178,10 +178,10 @@
 
     @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))+"");
     }
 
 
@@ -200,4 +200,12 @@
         ExcelUtil<ArchiveRecordModelOther> util = new ExcelUtil<>(ArchiveRecordModelOther.class);
         util.exportExcel(response,list,"妗f淇℃伅瀵煎叆妯℃澘");
     }
+
+    @PreAuthorize("@ss.hasPermi('system:records:list')")
+    @Log(title = "鏄惁鍏佽鎻愪氦", businessType = BusinessType.IMPORT)
+    @GetMapping(value = "/whether/{recordId}")
+    public AjaxResult whether(@PathVariable("recordId") Long recordId)
+    {
+        return AjaxResult.success( archiveRecordsService.whether(recordId));
+    }
 }

--
Gitblit v1.9.1