Merge remote-tracking branch 'origin/hylyasrs' into hylyasrs
 
	
	
	
	
	
	
	
	
	
	
	
	
	
 |  |  | 
 |  |  |             assert ioType != null; | 
 |  |  |             // 获取库位 | 
 |  |  |             LocMast locMast = locMastService.selectById(dto.getLocNo()); | 
 |  |  |  | 
 |  |  |             Integer outSta = staNo.getDevNo(); | 
 |  |  |             //2号堆垛机全板出库站指定为204站,拣料站指定为202 | 
 |  |  |             if(locMast.getCrnNo()==2){ | 
 |  |  |                 outSta = ioType == 101 ? 204 : 202; | 
 |  |  |             } | 
 |  |  |  | 
 |  |  |             // 获取路径 | 
 |  |  |             StaDesc staDesc = staDescService.queryCrnStn(ioType, locMast.getCrnNo(), staNo.getDevNo()); | 
 |  |  |             StaDesc staDesc = staDescService.queryCrnStn(ioType, locMast.getCrnNo(), outSta); | 
 |  |  |             // 生成工作号 | 
 |  |  |             int workNo = commonService.getWorkNo(WorkNoType.getWorkNoType(ioType)); | 
 |  |  |             // 生成工作档 |