From bb0b796649f1addc2bc593fb91fbb35b692ace8b Mon Sep 17 00:00:00 2001 From: chenlu <1320612696@qq.com> Date: 星期五, 19 四月 2024 15:50:11 +0800 Subject: [PATCH] 去除后台不需要的打印 --- north-glass-erp/src/main/java/com/example/erp/controller/mm/BasicWarehouseTypeController.java | 27 +++++++++++++++++++++++++++ 1 files changed, 27 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..6e13d5f --- /dev/null +++ b/north-glass-erp/src/main/java/com/example/erp/controller/mm/BasicWarehouseTypeController.java @@ -0,0 +1,27 @@ +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)); + } + + @GetMapping("/BasicWarehouseTypes/{type}") + public Result getBasicWarehouseTypes(@PathVariable String type){ + return Result.seccess(basicWarehouseTypeService.getBasicWarehouseTypes(type)); + } + +} -- Gitblit v1.8.0