|  |  | 
 |  |  |         List<String> matnrs = param.getList().stream().map(FullStoreParam.MatCodeStore::getMatnr).distinct().collect(Collectors.toList()); | 
 |  |  | //        List<String> batchs = param.getList().stream().map(FullStoreParam.MatCodeStore::getBatch).distinct().collect(Collectors.toList()); | 
 |  |  |         StartupDto dto = commonService.getLocNo(1, param.getDevpNo(), matnrs.get(0), null, null,locTypeDto); | 
 |  |  |         if (Cools.isEmpty(dto)){ | 
 |  |  |             throw new CoolException("查询库位失败!!==》startupFullPutStore ==》 commonService.getLocNo"); | 
 |  |  |         } | 
 |  |  |         // 生成工作号 | 
 |  |  |         int workNo = dto.getWorkNo(); | 
 |  |  |         // 生成工作档 | 
 |  |  | 
 |  |  |             throw new CoolException("当前工作档已完成"); | 
 |  |  |         } | 
 |  |  |         // 入库 + 库位转移 | 
 |  |  |         if (wrkMast.getWrkSts() < 4 || (wrkMast.getWrkSts() > 10 && wrkMast.getIoType()==11)) { | 
 |  |  |         if (wrkMast.getIoType() <100 ) { | 
 |  |  |             wrkMast.setWrkSts(4L); | 
 |  |  |         // 出库 | 
 |  |  |         } else if (wrkMast.getWrkSts() > 10) { | 
 |  |  |         } else if (wrkMast.getIoType() >100  && wrkMast.getWrkSts() > 10) { | 
 |  |  |             wrkMast.setWrkSts(14L); | 
 |  |  |         } | 
 |  |  |         Date now = new Date(); |