|
|
|
@ -98,9 +98,11 @@ public class PipelineServiceImpl implements IPipelineService { |
|
|
|
throw new ServiceException("查询不到站点信息: "+boxBarcode); |
|
|
|
throw new ServiceException("查询不到站点信息: "+boxBarcode); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//查询站点 判断站点是否为空
|
|
|
|
//查询站点 判断站点是否为空闲
|
|
|
|
Station station = stationService.getById(task.getStationId()); |
|
|
|
Station station = stationService.getById(task.getStationId()); |
|
|
|
if(Station.STATUS_FREE.equals(station.getStationStatus())){ |
|
|
|
|
|
|
|
|
|
|
|
//证明预占用
|
|
|
|
|
|
|
|
if(Station.PRE_STATUS_OCCUPIED.equals(station.getStationStatus())){ |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|