From 9687fd99fdf6208dbf747ea45c440f192a9af815 Mon Sep 17 00:00:00 2001 From: chenrui <1187576398@qq.com> Date: 星期五, 14 三月 2025 17:43:16 +0800 Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/lims-ruoyi-after into dev --- 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 1d86970..0fbd3ee 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.annotations.Api; import io.swagger.annotations.ApiOperation; 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; @ApiOperation(value = "鏍规嵁浜у搧id鏌ヨ鍘傚瀵嗗害缁戝畾") - @PostMapping("/selectSupplierDensityByProductId") + @GetMapping("/selectSupplierDensityByProductId") public Result selectSupplierDensityByProductId(Page page,ProductSupplierDensity supplierDensity) { return Result.success(productSupplierDensityService.selectByProductId(page, supplierDensity)); } @@ -49,7 +46,7 @@ } @ApiOperation(value = "鍒犻櫎鍘傚瀵嗗害缁戝畾") - @PostMapping("/deleteProductSupplierDensity") + @DeleteMapping("/deleteProductSupplierDensity") public Result deleteProductSupplierDensity(Integer id) { productSupplierDensityService.removeById(id); return Result.success(); -- Gitblit v1.9.3