|  |  | 
 |  |  |             List<String[]> outLocBoxCList = new ArrayList<>(); | 
 |  |  |             List<String> outLocBoxCNew = new ArrayList<>(); | 
 |  |  |             for (String[] outLocBoxC:OutLocBoxCs){ | 
 |  |  |                 total--; | 
 |  |  |                 if (!outLocBoxCNew.contains(outLocBoxC[0])){ | 
 |  |  |                     LocDetl locDetlSou = locDetlService.selectOne(new EntityWrapper<LocDetl>().eq("batch", outLocBoxC[0])); | 
 |  |  |                     if (Cools.isEmpty(locDetlSou)){ | 
 |  |  |                         throw new CoolException("箱号:"+outLocBoxC[0]+" 未查询到数据!!!"); | 
 |  |  |                     } | 
 |  |  |                     List<LocDetl> locDetls = locDetlService.selectList(new EntityWrapper<LocDetl>() | 
 |  |  |                             .eq("loc_no", locDetlSou.getLocNo()).eq("origin", locDetlSou.getOrigin())); | 
 |  |  |                     for (LocDetl locDetl:locDetls){ | 
 |  |  |                         total++; | 
 |  |  |                         String[] locDetlNow=new String[2]; | 
 |  |  |                         locDetlNow[0] = locDetl.getBatch(); | 
 |  |  |                         locDetlNow[1] = outLocBoxC[1]; | 
 |  |  | 
 |  |  |  | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |         log.info("导入{}条箱号!", total); | 
 |  |  |         log.info("出库{}条箱号!", total); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public int getTotal() { |