From 08b4403ec8d6b69528d161cfcad80b5d64dea76c Mon Sep 17 00:00:00 2001 From: Administrator <876263681@qq.com> Date: 星期三, 02 七月 2025 15:12:43 +0800 Subject: [PATCH] #优化库位检索 --- src/main/java/com/zy/asrs/entity/OrderDetl.java | 23 +++++++++++------------ 1 files changed, 11 insertions(+), 12 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/OrderDetl.java b/src/main/java/com/zy/asrs/entity/OrderDetl.java index da61de9..ed6b619 100644 --- a/src/main/java/com/zy/asrs/entity/OrderDetl.java +++ b/src/main/java/com/zy/asrs/entity/OrderDetl.java @@ -72,21 +72,21 @@ private Double qty; /** - * 鍟嗗搧缂栫爜 + * 鍝佸彿 */ - @ApiModelProperty(value= "鍟嗗搧缂栫爜") + @ApiModelProperty(value= "鍝佸彿") private String matnr; /** - * 鍟嗗搧鍚嶇О + * 鍝佸悕 */ - @ApiModelProperty(value= "鍟嗗搧鍚嶇О") + @ApiModelProperty(value= "鍝佸悕") private String maktx; /** - * 搴忓垪鐮� + * 鎵瑰彿 */ - @ApiModelProperty(value= "搴忓垪鐮�") + @ApiModelProperty(value= "鎵瑰彿") private String batch; /** @@ -110,7 +110,8 @@ /** * 鍝佺墝 */ - @ApiModelProperty(value= "鍝佺墝") + @ApiModelProperty(value= "绫诲瀷") +// @ApiModelProperty(value= "鍝佺墝") private String brand; /** @@ -443,12 +444,10 @@ } 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; } -// if (null != this.anfme && this.qty != null) { -// return this.anfme - this.qty; -// } return null; } -- Gitblit v1.9.1