From e5d1fb3d5ce9468b92e79825bbcb38f05ea73aff Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期一, 12 十月 2026 18:12:34 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
basic-server/src/main/java/com/ruoyi/basic/controller/ProductSupplierDensityController.java | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/basic-server/src/main/java/com/ruoyi/basic/controller/ProductSupplierDensityController.java b/basic-server/src/main/java/com/ruoyi/basic/controller/ProductSupplierDensityController.java
index bc69d1b..490c2cc 100644
--- a/basic-server/src/main/java/com/ruoyi/basic/controller/ProductSupplierDensityController.java
+++ b/basic-server/src/main/java/com/ruoyi/basic/controller/ProductSupplierDensityController.java
@@ -8,10 +8,7 @@
import io.swagger.v3.oas.annotations.tags.Tag;
import io.swagger.v3.oas.annotations.Operation;
import lombok.AllArgsConstructor;
-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.*;
/**
@@ -29,7 +26,7 @@
private ProductSupplierDensityService productSupplierDensityService;
@Operation(summary = "鏍规嵁浜у搧id鏌ヨ鍘傚瀵嗗害缁戝畾")
- @PostMapping("/selectSupplierDensityByProductId")
+ @GetMapping("/selectSupplierDensityByProductId")
public Result selectSupplierDensityByProductId(Page page,ProductSupplierDensity supplierDensity) {
return Result.success(productSupplierDensityService.selectByProductId(page, supplierDensity));
}
@@ -49,7 +46,7 @@
}
@Operation(summary = "鍒犻櫎鍘傚瀵嗗害缁戝畾")
- @PostMapping("/deleteProductSupplierDensity")
+ @DeleteMapping("/deleteProductSupplierDensity")
public Result deleteProductSupplierDensity(Integer id) {
productSupplierDensityService.removeById(id);
return Result.success();
--
Gitblit v1.9.3