chenlu
2024-03-29 85d6d50b5ac0b622ada4f0b0bf9798eedd687f1c
north-glass-erp/src/main/java/com/example/erp/controller/mm/BasicWarehouseTypeController.java
New file
@@ -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));
    }
}