From ca6a10efa6bccd9ee2eba96403d6eef48b75f507 Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期五, 16 十月 2026 13:08:59 +0800
Subject: [PATCH] 质量监督:日常监督检查记录单导出受监督人多人每行一个,更新记录单模板;方法验证:删除时同步清理上岗证与校准证书子表

---
 performance-server/src/main/java/com/ruoyi/performance/controller/ShiftTimeController.java |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/performance-server/src/main/java/com/ruoyi/performance/controller/ShiftTimeController.java b/performance-server/src/main/java/com/ruoyi/performance/controller/ShiftTimeController.java
index e253271..c3c0a21 100644
--- a/performance-server/src/main/java/com/ruoyi/performance/controller/ShiftTimeController.java
+++ b/performance-server/src/main/java/com/ruoyi/performance/controller/ShiftTimeController.java
@@ -6,10 +6,7 @@
 import io.swagger.v3.oas.annotations.tags.Tag;
 import io.swagger.v3.oas.annotations.Operation;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.bind.annotation.*;
 
 /**
  * <p>
@@ -35,13 +32,13 @@
     }
 
     @Operation(summary = "鎺掔彮鏃堕棿閰嶇疆鏌ヨ")
-    @PostMapping("list")
+    @GetMapping("list")
     public Result<?> shiftTimeList() {
         return Result.success(shiftTimeService.shiftTimeList());
     }
 
     @Operation(summary = "鎺掔彮鏃堕棿閰嶇疆鍒犻櫎")
-    @PostMapping("remove")
+    @DeleteMapping("remove")
     public Result<?> shiftTimeRemove(Long id) {
         return Result.success(shiftTimeService.removeById(id));
     }

--
Gitblit v1.9.3