#
1
2 天以前 792ac2d480d61cf3922c16455b91393e41177182
src/main/java/com/zy/asrs/entity/param/ArmOrderAssignmentParam.java
@@ -44,9 +44,13 @@
            public SKUInfo() {};
            public SKUInfo(BasArmMast basArmMast, OrderDetlValueResultUtil orderDetlValueResultUtil){
                id = basArmMast.getSku();
                id = basArmMast.getMatnr();
                length = orderDetlValueResultUtil.getLength();
                width = orderDetlValueResultUtil.getWidth();
                if (length<width){
                    width = orderDetlValueResultUtil.getLength();
                    length = orderDetlValueResultUtil.getWidth();
                }
                weight = orderDetlValueResultUtil.getWeight();
                height = orderDetlValueResultUtil.getHeight();
            }
@@ -55,15 +59,15 @@
        public OrderItem() {};
        public OrderItem(BasArmMast basArmMast, OrderDetlValueResultUtil orderDetlValueResultUtil) {
            target_num = orderDetlValueResultUtil.getAnfme().intValue();
            from = basArmMast.getSortingLine().toString();
            to = basArmMast.getStaNo().toString();
            from = String.valueOf((basArmMast.getSortingLine()+1)%2);
            to = String.valueOf((basArmMast.getSortingLine()+1)%2+2);
            sku_info = new SKUInfo(basArmMast,orderDetlValueResultUtil);
        };
    }
    public ArmOrderAssignmentParam() {}
    public ArmOrderAssignmentParam(BasArmMast basArmMast, OrderDetlValueResultUtil orderDetlValueResultUtil) {
        order_id = basArmMast.getSku()+sign_arm_sku+basArmMast.getOrderNo()+sign_arm_order+String.valueOf(basArmMast.getSortingLine());
        order_id = basArmMast.getMatnr()+sign_arm_sku+basArmMast.getBindingTags()+sign_arm_sku+basArmMast.getOrderNo()+sign_arm_order+(basArmMast.getSortingLine()+1)%2;
        List<OrderItem> orderItemArrayList= new ArrayList<>();
        OrderItem orderItem = new OrderItem(basArmMast,orderDetlValueResultUtil);
        orderItemArrayList.add(orderItem);