WmspInboundDrivingController.java 1.0 KB

123456789101112131415161718192021222324252627282930
  1. package com.steerinfo.dil.controller;
  2. import com.steerinfo.dil.service.impl.WmsInboundDrivingResultServiceImpl;
  3. import com.steerinfo.dil.util.BaseRESTfulController;
  4. import io.swagger.annotations.ApiOperation;
  5. import org.springframework.beans.factory.annotation.Autowired;
  6. import org.springframework.web.bind.annotation.PostMapping;
  7. import org.springframework.web.bind.annotation.RequestMapping;
  8. import org.springframework.web.bind.annotation.RequestParam;
  9. import org.springframework.web.bind.annotation.RestController;
  10. /**
  11. * @author luobang
  12. * @create 2021-10-09 14:07
  13. */
  14. @RestController
  15. @RequestMapping("${api.version}/inboundStack")
  16. public class WmspInboundDrivingController extends BaseRESTfulController {
  17. @Autowired
  18. WmsInboundDrivingResultServiceImpl wmsInboundDrivingResultService;
  19. @PostMapping("/getInboundStack")
  20. @ApiOperation(value = "展示入库垛位")
  21. public Integer getInboundStack(@RequestParam("driverId") Integer driverId){
  22. return wmsInboundDrivingResultService.getInboundStack(driverId);
  23. }
  24. }