liding
昨天 f7ba5f3fb17abf09b6bd3980c46761c2431a4c31
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();