From 4688ec39bdff70a1754597cbd86e96e261311fb8 Mon Sep 17 00:00:00 2001 From: 廖井涛 <2265517004@qq.com> Date: 星期四, 18 四月 2024 09:51:39 +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