From 956481188a15a01b6c4372a47e95a6aca3100956 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期一, 16 三月 2026 13:07:20 +0800
Subject: [PATCH] refactor(production): 优化采购入库记录查询逻辑
---
src/main/java/com/ruoyi/sales/controller/SalesQuotationController.java | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/ruoyi/sales/controller/SalesQuotationController.java b/src/main/java/com/ruoyi/sales/controller/SalesQuotationController.java
index f9ea1df..7ea82b7 100644
--- a/src/main/java/com/ruoyi/sales/controller/SalesQuotationController.java
+++ b/src/main/java/com/ruoyi/sales/controller/SalesQuotationController.java
@@ -51,6 +51,21 @@
public AjaxResult update(@RequestBody SalesQuotationDto salesQuotationDto) {
return AjaxResult.success(salesQuotationService.edit(salesQuotationDto));
}
+
+ /**
+ * 璇︽儏
+ * @param type 瀹㈡埛绫诲瀷
+ * @param productName 浜у搧鍚嶇О
+ * @param specification 瑙勬牸
+ * @return
+ */
+ @ApiOperation("璇︽儏")
+ @GetMapping("/detail")
+ public AjaxResult detail(@RequestParam("type") String type,
+ @RequestParam("productName")String productName,
+ @RequestParam("specification")String specification) {
+ return AjaxResult.success(salesQuotationService.detail(type, productName, specification));
+ }
@DeleteMapping("/delete")
public AjaxResult delete(@RequestBody Long id) {
return AjaxResult.success(salesQuotationService.delete(id));
--
Gitblit v1.9.3