|  |  | 
 |  |  |             return R.parse("订单明细为空"); | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         List<String> disableCstateidList = new ArrayList<>(); | 
 |  |  |         disableCstateidList.add("1001A1100000000H0KJP");//不合格 | 
 |  |  |         disableCstateidList.add("1001A1100000000LFERA");//待处理 | 
 |  |  |  | 
 |  |  |         List<LocDto> locDtos = new ArrayList<>(); | 
 |  |  |  | 
 |  |  |         Set<String> exist = new HashSet<>(); | 
 |  |  | 
 |  |  |                 List<LocDetl> locDetls = locDetlService.queryStockAll(null, exist, orderDetl.getMatnr(), orderDetl.getBatch(), | 
 |  |  |                         orderDetl.getBrand(), orderDetl.getStandby1(), orderDetl.getStandby2(), orderDetl.getStandby3(), orderDetl.getBoxType1(), orderDetl.getBoxType2(), orderDetl.getBoxType3(), cstateid); | 
 |  |  |                 for (LocDetl locDetl : locDetls) { | 
 |  |  |                     if (disableCstateidList.contains(locDetl.getCstateid())) { | 
 |  |  |                         continue; | 
 |  |  |                     } | 
 |  |  |  | 
 |  |  |                     if (issued > 0) { | 
 |  |  |                         LocDto locDto = new LocDto(locDetl.getLocNo(), locDetl.getMatnr(), locDetl.getMaktx(), locDetl.getBatch(), orderDetl.getOrderNo(), | 
 |  |  |                                 issued >= locDetl.getAnfme() ? locDetl.getAnfme() : issued); |