From bb206e9e0c05e7d3d5d989ecb6cd40cd293b6795 Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期五, 16 十月 2026 14:34:09 +0800
Subject: [PATCH] 修复核查计划明细导出异常:未录入记录时友好提示而非报错500
---
basic-server/src/main/java/com/ruoyi/basic/controller/LaboratoryController.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/basic-server/src/main/java/com/ruoyi/basic/controller/LaboratoryController.java b/basic-server/src/main/java/com/ruoyi/basic/controller/LaboratoryController.java
index ca014a5..6f4465d 100644
--- a/basic-server/src/main/java/com/ruoyi/basic/controller/LaboratoryController.java
+++ b/basic-server/src/main/java/com/ruoyi/basic/controller/LaboratoryController.java
@@ -24,7 +24,7 @@
private LaboratoryService laboratoryService;
@Operation(summary = "鏌ヨ瀹為獙瀹ょ鐞嗗垪琛�")
- @PostMapping("/selectItemParameter")
+ @GetMapping("/selectItemParameter")
public Result selectItemParameter(Page page ,Laboratory itemParameter) {
return Result.success(laboratoryService.selectItemParameter(page, itemParameter));
}
@@ -36,7 +36,7 @@
}
@Operation(summary = "鍒犻櫎瀹為獙瀹ゅ弬鏁�")
- @PostMapping("/delParameter")
+ @DeleteMapping("/delParameter")
public Result<?> delParameter(Integer id) {
return Result.success(laboratoryService.delParameter(id));
}
--
Gitblit v1.9.3