|  |  | 
 |  |  |         if (Cools.isEmpty(orderNo)){ | 
 |  |  |             orderNo=null; | 
 |  |  |         } | 
 |  |  |         List<Order> orders = orderService.selectorderNoL(orderNo); | 
 |  |  |         List<Order> orders = orderService.selectorderNoLT(orderNo); | 
 |  |  |         if (Cools.isEmpty(orders)){ | 
 |  |  |             return R.ok(); | 
 |  |  |         } | 
 |  |  | 
 |  |  |                     .eq("weight", weight) | 
 |  |  |                     .eq("volume", volume) | 
 |  |  |                     .eq("specs", splicesS)); | 
 |  |  |             if (orderDetlGifts.isEmpty()){ | 
 |  |  |                 return R.error("查询信息异常,未匹配到明细").add("未匹配到明细"); | 
 |  |  |             } | 
 |  |  |             if (orderDetlGifts.size()>1){ | 
 |  |  |                 return R.error("查询信息异常,存在多条明细").add("存在多条明细"); | 
 |  |  |             } | 
 |  |  |             OrderDetlGift orderDetlGift = orderDetlGifts.get(0); | 
 |  |  |             orderDetlGift.setSource(1); | 
 |  |  |             orderDetlGiftService.updateById(orderDetlGift); | 
 |  |  |             orderDetlGift.setDeadTime(orderDetlGift.getSource$()); | 
 |  |  |             return R.ok("确认成功").add(orderDetlGift); | 
 |  |  |         } catch (Exception e){ | 
 |  |  |             return R.error("查询信息异常,未匹配到明细").add("未匹配到明细"); | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @RequestMapping("/order/search/batch/new/auth") | 
 |  |  |     @ManagerAuth(memo = "出库确认") | 
 |  |  |     public R orderSearchByBatchNew(@RequestBody OrderGiftParam param){ | 
 |  |  |         try{ | 
 |  |  | //            String length = param.getLength(); | 
 |  |  | //            String lengthS = length.split(" ")[0]; | 
 |  |  | //            Double price = Double.valueOf(lengthS); | 
 |  |  | //            String grossWeight = param.getGrossWeight(); | 
 |  |  | //            String grossWeightS = grossWeight.split(" ")[0]; | 
 |  |  | //            Double volume = Double.valueOf(grossWeightS); | 
 |  |  |             String netWeight = param.getNetWeight(); | 
 |  |  |             String netWeightS = netWeight.split(" ")[0]; | 
 |  |  |             Double weight = Double.valueOf(netWeightS); | 
 |  |  | //            String splices = param.getSplices(); | 
 |  |  | //            String splicesS = splices.split(" ")[0]; | 
 |  |  |             List<OrderDetlGift> orderDetlGifts = orderDetlGiftService.selectList(new EntityWrapper<OrderDetlGift>() | 
 |  |  |                     .eq("order_no", param.getOrderNo()) | 
 |  |  | //                    .eq("matnr", param.getSpecs()) | 
 |  |  |                     .eq("batch", param.getBoxNo()) | 
 |  |  | //                    .eq("model", param.getRollNo()) | 
 |  |  | //                    .eq("price", price) | 
 |  |  |                     .eq("weight", weight)); | 
 |  |  | //                    .eq("volume", volume) | 
 |  |  | //                    .eq("specs", splicesS)); | 
 |  |  |             if (orderDetlGifts.isEmpty()){ | 
 |  |  |                 return R.error("查询信息异常,未匹配到明细").add("未匹配到明细"); | 
 |  |  |             } | 
 |  |  | 
 |  |  |     @PostMapping("/balcony/complete/car/auth/v1") | 
 |  |  | //    @AppAuth(memo = "中控:2楼212叫托盘") | 
 |  |  |     public synchronized R balconyCompleteCar() { | 
 |  |  |         mobileService.trussComb2Car(212); | 
 |  |  |         return R.ok(); | 
 |  |  | //        mobileService.trussComb2Car(212); | 
 |  |  |         return R.error("已禁用").add("已禁用"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** |