From 77187eabbf216b5d8283e69708132e2ca75b5f95 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期三, 22 三月 2023 13:07:00 +0800
Subject: [PATCH] yxh

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatArchiveController.java |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatArchiveController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatArchiveController.java
index d11cf9e..33fdfa9 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatArchiveController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatArchiveController.java
@@ -1,4 +1,4 @@
-package com.ruoyi.web.controller.smartor;
+package com.smartor.controller;
 
 import java.util.List;
 import javax.servlet.http.HttpServletResponse;
@@ -24,11 +24,11 @@
 /**
  * 鎮h�呮。妗圕ontroller
  * 
- * @author ruoyi
- * @date 2023-02-22
+ * @author smartor
+ * @date 2023-03-04
  */
 @RestController
-@RequestMapping("/smartor/archive")
+@RequestMapping("/smartor/patarchive")
 public class PatArchiveController extends BaseController
 {
     @Autowired
@@ -37,7 +37,7 @@
     /**
      * 鏌ヨ鎮h�呮。妗堝垪琛�
      */
-    @PreAuthorize("@ss.hasPermi('smartor:archive:list')")
+    @PreAuthorize("@ss.hasPermi('smartor:patarchive:list')")
     @GetMapping("/list")
     public TableDataInfo list(PatArchive patArchive)
     {
@@ -49,7 +49,7 @@
     /**
      * 瀵煎嚭鎮h�呮。妗堝垪琛�
      */
-    @PreAuthorize("@ss.hasPermi('smartor:archive:export')")
+    @PreAuthorize("@ss.hasPermi('smartor:patarchive:export')")
     @Log(title = "鎮h�呮。妗�", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     public void export(HttpServletResponse response, PatArchive patArchive)
@@ -62,17 +62,17 @@
     /**
      * 鑾峰彇鎮h�呮。妗堣缁嗕俊鎭�
      */
-    @PreAuthorize("@ss.hasPermi('smartor:archive:query')")
-    @GetMapping(value = "/{PatID}")
-    public AjaxResult getInfo(@PathVariable("PatID") Long PatID)
+    @PreAuthorize("@ss.hasPermi('smartor:patarchive:query')")
+    @GetMapping(value = "/{patid}")
+    public AjaxResult getInfo(@PathVariable("patid") Long patid)
     {
-        return success(patArchiveService.selectPatArchiveByPatID(PatID));
+        return success(patArchiveService.selectPatArchiveByPatid(patid));
     }
 
     /**
      * 鏂板鎮h�呮。妗�
      */
-    @PreAuthorize("@ss.hasPermi('smartor:archive:add')")
+    @PreAuthorize("@ss.hasPermi('smartor:patarchive:add')")
     @Log(title = "鎮h�呮。妗�", businessType = BusinessType.INSERT)
     @PostMapping
     public AjaxResult add(@RequestBody PatArchive patArchive)
@@ -83,7 +83,7 @@
     /**
      * 淇敼鎮h�呮。妗�
      */
-    @PreAuthorize("@ss.hasPermi('smartor:archive:edit')")
+    @PreAuthorize("@ss.hasPermi('smartor:patarchive:edit')")
     @Log(title = "鎮h�呮。妗�", businessType = BusinessType.UPDATE)
     @PutMapping
     public AjaxResult edit(@RequestBody PatArchive patArchive)
@@ -94,11 +94,11 @@
     /**
      * 鍒犻櫎鎮h�呮。妗�
      */
-    @PreAuthorize("@ss.hasPermi('smartor:archive:remove')")
+    @PreAuthorize("@ss.hasPermi('smartor:patarchive:remove')")
     @Log(title = "鎮h�呮。妗�", businessType = BusinessType.DELETE)
-	@DeleteMapping("/{PatIDs}")
-    public AjaxResult remove(@PathVariable Long[] PatIDs)
+	@DeleteMapping("/{patids}")
+    public AjaxResult remove(@PathVariable Long[] patids)
     {
-        return toAjax(patArchiveService.deletePatArchiveByPatIDs(PatIDs));
+        return toAjax(patArchiveService.deletePatArchiveByPatids(patids));
     }
 }

--
Gitblit v1.9.3