From f1c7702e9fd1aa235523de9767bc96d1838e104f Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期三, 27 三月 2024 11:23:28 +0800
Subject: [PATCH] 打包后刷新界面获取不到本地地址问题,工艺审核界面商标打印展示
---
north-glass-erp/src/main/java/com/example/erp/controller/sd/BasicDataController.java | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 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
new file mode 100644
index 0000000..7b684b6
--- /dev/null
+++ b/north-glass-erp/src/main/java/com/example/erp/controller/sd/BasicDataController.java
@@ -0,0 +1,27 @@
+package com.example.erp.controller.sd;
+
+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.*;
+
+import java.util.Map;
+
+@RestController
+@RequestMapping("/basicData")
+public class BasicDataController {
+ @Autowired
+ BasicDateService basicDateService;
+ @GetMapping("/orderBasicData")
+ 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