| | |
| | | |
| | | //遍历单据 |
| | | for (String orderNo : orderNos) { |
| | | OrderPakin orderPakin = orderPakinService.selectOne(new EntityWrapper<OrderPakin>().eq("order_no",orderNo)); |
| | | if(orderPakin.getDocType() == 16){ |
| | | orderPakin.setMoveStatus(1); |
| | | orderPakinService.updateById(orderPakin); |
| | | continue; |
| | | } |
| | | |
| | | try{ |
| | | List<OrderDetlPakin> orderDetlPakinListAll = orderDetlPakinService.selectList(new EntityWrapper<OrderDetlPakin>().eq("order_no",orderNo).eq("inspect",0)); |
| | | if (orderDetlPakinListAll.size()<1){ |
| | |
| | | return; |
| | | } else if (number == 0){ |
| | | |
| | | Integer status = basArmRulesService.getStatus(orderDetl.getWeight(),orderDetl.getVolume(),orderDetl.getManLength(),orderDetl.getWidth(),orderDetl.getHeight()); |
| | | Integer status = basArmRulesService.getStatus(mat.getWeight(),mat.getVolume(),mat.getManLength(),mat.getWidth(),mat.getHeight()); |
| | | if (!Cools.isEmpty(status) && status == 2){ |
| | | continue; |
| | | } else { |