From 7474e9db45540a01fa84d29ffa24e39f9d0e0e5b Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期三, 20 三月 2024 11:46:58 +0800
Subject: [PATCH] 修改主页面退出按钮以及其他
---
north-glass-erp/src/main/java/com/example/erp/controller/mm/BasicWarehouseTypeController.java | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/north-glass-erp/src/main/java/com/example/erp/controller/mm/BasicWarehouseTypeController.java b/north-glass-erp/src/main/java/com/example/erp/controller/mm/BasicWarehouseTypeController.java
new file mode 100644
index 0000000..116806b
--- /dev/null
+++ b/north-glass-erp/src/main/java/com/example/erp/controller/mm/BasicWarehouseTypeController.java
@@ -0,0 +1,22 @@
+package com.example.erp.controller.mm;
+
+import com.example.erp.common.Result;
+import com.example.erp.service.mm.BasicWarehouseTypeService;
+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.PathVariable;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+@RestController
+@RequestMapping("/BasicWarehouse")
+public class BasicWarehouseTypeController {
+ @Autowired
+ BasicWarehouseTypeService basicWarehouseTypeService;
+ @GetMapping("/BasicWarehouseType/{type}")
+ public Result getBasicWarehouseType(@PathVariable String type){
+ return Result.seccess(basicWarehouseTypeService.getBasicWarehouseType(type));
+ }
+
+}
--
Gitblit v1.8.0