|  |  | 
 |  |  |             int type=Cools.isEmpty(waitPakins.get(0).getBeBatch())?1:waitPakins.get(0).getBeBatch(); | 
 |  |  |             // 检索库位 | 
 |  |  |             locMast1 =commonService.getLocNo2(waitPakins.get(0),arr,0,type,1); | 
 |  |  |  | 
 |  |  |             int mbz=devpNo*10+Integer.valueOf(locMast1.getLocNo().substring(6)); | 
 |  |  |             //正常入库 | 
 |  |  |             workNo = commonService.getWorkNo(0); | 
 |  |  |             Date now = new Date(); | 
 |  |  | 
 |  |  |             wrkMast.setIoType(1); // 入出库状态:1.入库 | 
 |  |  |             wrkMast.setIoPri(13D); // 优先级 | 
 |  |  |             wrkMast.setSourceStaNo(devpNo); | 
 |  |  |             wrkMast.setStaNo(mbz); | 
 |  |  |             wrkMast.setLocNo(locMast1.getLocNo()); | 
 |  |  |             wrkMast.setBarcode(barcode); // 托盘码 | 
 |  |  |             wrkMast.setFullPlt("Y"); // 满板:Y |