From 0430c84aa26eaaad039803dad9c24d55f36b3050 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期四, 11 七月 2024 20:29:28 +0800
Subject: [PATCH] #
---
zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/OrderDetl.java | 27 ++++++++++++++++++++-------
1 files changed, 20 insertions(+), 7 deletions(-)
diff --git a/zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/OrderDetl.java b/zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/OrderDetl.java
index 9cc0db0..b467ba5 100644
--- a/zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/OrderDetl.java
+++ b/zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/OrderDetl.java
@@ -57,8 +57,11 @@
@ApiModelProperty(value= "鏁伴噺")
private Double anfme;
- @ApiModelProperty(value= "")
+ @ApiModelProperty(value= "宸插畬鎴愭暟閲�")
private Double qty;
+
+ @ApiModelProperty(value= "浣滀笟鏁伴噺")
+ private Double workQty;
/**
* 鍟嗗搧缂栫爜
@@ -181,21 +184,21 @@
private Double volume;
/**
- * 涓夋柟缂栫爜
+ * 浠撳簱鍙�
*/
- @ApiModelProperty(value= "涓夋柟缂栫爜")
+ @ApiModelProperty(value= "浠撳簱鍙�")
private String threeCode;
/**
- * 渚涘簲鍟�
+ * 鏉ユ簮鍗曞彿
*/
- @ApiModelProperty(value= "渚涘簲鍟�")
+ @ApiModelProperty(value= "鏉ユ簮鍗曞彿")
private String supp;
/**
- * 渚涘簲鍟嗙紪鐮�
+ * 鏉ユ簮搴忓彿
*/
- @ApiModelProperty(value= "渚涘簲鍟嗙紪鐮�")
+ @ApiModelProperty(value= "鏉ユ簮搴忓彿")
private String suppCode;
/**
@@ -478,6 +481,16 @@
return null;
}
+ public Double getEnableQty() {
+ if (null != this.anfme && this.workQty != null) {
+ return this.anfme - this.workQty;
+ }
+// if (null != this.anfme && this.qty != null) {
+// return this.anfme - this.qty;
+// }
+ return null;
+ }
+
public void sync(Object source) {
Synchro.Copy(source, this);
}
--
Gitblit v1.9.1