From 73be6b08f5a94e71550fe788c5d74705daa91be0 Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期五, 22 三月 2024 16:48:07 +0800
Subject: [PATCH] 订单首页右键查询流程卡进度

---
 north-glass-erp/src/main/java/com/example/erp/controller/sd/BasicDataController.java |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/controller/sd/BasicDataController.java b/north-glass-erp/src/main/java/com/example/erp/controller/sd/BasicDataController.java
index aabb990..7b684b6 100644
--- a/north-glass-erp/src/main/java/com/example/erp/controller/sd/BasicDataController.java
+++ b/north-glass-erp/src/main/java/com/example/erp/controller/sd/BasicDataController.java
@@ -3,10 +3,7 @@
 import com.example.erp.common.Result;
 import com.example.erp.service.sd.BasicDateService;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.web.bind.annotation.GetMapping;
-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.*;
 
 import java.util.Map;
 
@@ -19,4 +16,12 @@
     public Result getOrderBasicData(){
         return Result.seccess(basicDateService.getOrderBasicData());
     }
+    @GetMapping("/BasicDataByType/{type}")
+    public Result getBasicDataByType(@PathVariable String type){
+        return Result.seccess(basicDateService.getBasicDataByType(type));
+    }
+    @GetMapping("/BasicDataByType/{type}/{childType}")
+    public Result getBasicDataByTypeAndChildType(@PathVariable String type,@PathVariable String childType){
+        return Result.seccess(basicDateService.getBasicDataByTypeAndChildType(type,childType));
+    }
 }

--
Gitblit v1.8.0