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 getWarehouseTransfer(WarehouseTransfer warehouseTransfer){ return warehouseTransferService.getWarehouseTransfer(warehouseTransfer); } }