WarehouseTransferController.java 909 B

12345678910111213141516171819202122232425262728293031
  1. package com.tld.controller;
  2. import com.tld.model.WarehouseTransfer;
  3. import com.tld.service.WarehouseTransferService;
  4. import org.springframework.beans.factory.annotation.Autowired;
  5. import org.springframework.web.bind.annotation.GetMapping;
  6. import org.springframework.web.bind.annotation.RequestMapping;
  7. import org.springframework.web.bind.annotation.RestController;
  8. import java.util.Map;
  9. /**
  10. * 移库
  11. */
  12. @RestController
  13. @RequestMapping("warehouseTransfer")
  14. public class WarehouseTransferController {
  15. @Autowired
  16. private WarehouseTransferService warehouseTransferService;
  17. /**
  18. * 查询移库单
  19. * @param warehouseTransfer 参数
  20. * @return 返回结果
  21. */
  22. @GetMapping("getWarehouseTransfer")
  23. public Map<String, Object> getWarehouseTransfer(WarehouseTransfer warehouseTransfer){
  24. return warehouseTransferService.getWarehouseTransfer(warehouseTransfer);
  25. }
  26. }