12345678910111213141516171819202122232425262728293031 |
- package com.tld.controller;
- import com.tld.model.WarehouseTransfer;
- import com.tld.service.WarehouseTransferService;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.GetMapping;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
- import java.util.Map;
- /**
- * 移库
- */
- @RestController
- @RequestMapping("warehouseTransfer")
- public class WarehouseTransferController {
- @Autowired
- private WarehouseTransferService warehouseTransferService;
- /**
- * 查询移库单
- * @param warehouseTransfer 参数
- * @return 返回结果
- */
- @GetMapping("getWarehouseTransfer")
- public Map<String, Object> getWarehouseTransfer(WarehouseTransfer warehouseTransfer){
- return warehouseTransferService.getWarehouseTransfer(warehouseTransfer);
- }
- }
|