From bc7fc7214a00a4d5e84e6962126dbcb91dd7a6b2 Mon Sep 17 00:00:00 2001
From: NNowhZzU <1539353356@qq.com>
Date: 星期一, 25 十二月 2023 13:44:17 +0800
Subject: [PATCH] 采购订单页、仓储报表也删除多余按钮
---
north-glass-erp/src/main/java/com/example/erp/controller/sd/ProductController.java | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/north-glass-erp/src/main/java/com/example/erp/controller/sd/ProductController.java b/north-glass-erp/src/main/java/com/example/erp/controller/sd/ProductController.java
new file mode 100644
index 0000000..f24f2bb
--- /dev/null
+++ b/north-glass-erp/src/main/java/com/example/erp/controller/sd/ProductController.java
@@ -0,0 +1,21 @@
+package com.example.erp.controller.sd;
+
+import com.example.erp.common.Result;
+import com.example.erp.service.sd.ProductService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+@RestController
+@RequestMapping("/product")
+public class ProductController {
+ @Autowired
+ ProductService productService;
+
+ @GetMapping
+ public Result defaultDateProduct(){
+ //璋冪敤productService鐨刣efaultDateProduct鏂规硶锛岃繑鍥炵粨鏋�
+ return Result.seccess(productService.defaultDateProduct());
+ }
+}
--
Gitblit v1.8.0