From 792ac2d480d61cf3922c16455b91393e41177182 Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: 星期四, 27 十一月 2025 11:21:16 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/asrs/entity/param/ArmOrderAssignmentParam.java | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/zy/asrs/entity/param/ArmOrderAssignmentParam.java b/src/main/java/com/zy/asrs/entity/param/ArmOrderAssignmentParam.java
index 5f90abd..39ecb52 100644
--- a/src/main/java/com/zy/asrs/entity/param/ArmOrderAssignmentParam.java
+++ b/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();
}
@@ -63,7 +67,7 @@
public ArmOrderAssignmentParam() {}
public ArmOrderAssignmentParam(BasArmMast basArmMast, OrderDetlValueResultUtil orderDetlValueResultUtil) {
- order_id = basArmMast.getSku()+sign_arm_sku+basArmMast.getOrderNo()+sign_arm_order+(basArmMast.getSortingLine()+1)%2;
+ 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);
--
Gitblit v1.9.1