package com.steerinfo.dil.controller; import com.steerinfo.dil.service.impl.WmsInboundDrivingResultServiceImpl; import com.steerinfo.dil.util.BaseRESTfulController; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; /** * @author luobang * @create 2021-10-09 14:07 */ @RestController @RequestMapping("${api.version}/inboundStack") public class WmspInboundDrivingController extends BaseRESTfulController { @Autowired WmsInboundDrivingResultServiceImpl wmsInboundDrivingResultService; @PostMapping("/getInboundStack") @ApiOperation(value = "展示入库垛位") public Integer getInboundStack(@RequestParam("driverId") Integer driverId){ return wmsInboundDrivingResultService.getInboundStack(driverId); } }