|  |  | 
 |  |  | import com.core.common.Cools; | 
 |  |  | import com.zy.asrs.entity.LocDetl; | 
 |  |  | import com.zy.asrs.entity.LocMast; | 
 |  |  | import com.zy.asrs.entity.result.FindLocNoAttributeVo; | 
 |  |  | import com.zy.asrs.service.LocDetlService; | 
 |  |  | import com.zy.asrs.service.LocMastService; | 
 |  |  | import com.zy.asrs.service.WorkService; | 
 |  |  | 
 |  |  |                         if (!Cools.isEmpty(locMasts) && locMasts.size()<4){ | 
 |  |  |                             for (LocMast locMast:locMasts){ | 
 |  |  |                                 LocDetl locDetl = locDetlService.selectOne(new EntityWrapper<LocDetl>().eq("loc_no", locMast.getLocNo())); | 
 |  |  |                                 StartupDto startupDto = commonService.getLocNo(crnNo == 1 ? 6 : 5, ioType, crnNo == 1 ? 917 : 918, locDetl.getMatnr(), locDetl.getBatch(),locDetl.getBrand(),0, null, 0); | 
 |  |  | //                                StartupDto startupDto = commonService.getLocNo(crnNo == 1 ? 6 : 5, ioType, crnNo == 1 ? 917 : 918, locDetl.getMatnr(), locDetl.getBatch(),locDetl.getBrand(), null); | 
 |  |  |                                 FindLocNoAttributeVo findLocNoAttributeVo = new FindLocNoAttributeVo(locDetl); | 
 |  |  |  | 
 |  |  |                                 StartupDto startupDto = commonService.getLocNo( ioType, crnNo == 1 ? 917 : 918, findLocNoAttributeVo, null); | 
 |  |  |                                 workService.locMove(locMast.getLocNo(), startupDto.getLocNo(),9527L); | 
 |  |  |                             } | 
 |  |  |                             return SUCCESS; | 
 |  |  | 
 |  |  |  | 
 |  |  |                     List<LocDetl> locDetlList = locDetlService.selectLocDetlUnilateralMoveShuttle(matnr, batch, grade, crnNo); | 
 |  |  |                     for (LocDetl locDetl : locDetlList) { | 
 |  |  |                         StartupDto startupDto = commonService.getLocNo(crnNo == 1 ? 4 : 3, ioType, crnNo == 1 ? 901 : 932, locDetl.getMatnr(), locDetl.getBatch(), locDetl.getBrand(),0, null, 0); | 
 |  |  | //                        StartupDto startupDto = commonService.getLocNo(crnNo == 1 ? 4 : 3, ioType, crnNo == 1 ? 901 : 932, locDetl.getMatnr(), locDetl.getBatch(), locDetl.getBrand(), null); | 
 |  |  |                         FindLocNoAttributeVo findLocNoAttributeVo = new FindLocNoAttributeVo(locDetl); | 
 |  |  |  | 
 |  |  |                         StartupDto startupDto = commonService.getLocNo( ioType, crnNo == 1 ? 901 : 932, findLocNoAttributeVo, null); | 
 |  |  |                         workService.locMove(locDetl.getLocNo(), startupDto.getLocNo(), 9527L); | 
 |  |  |                     } | 
 |  |  |                 } |