From 04ac29e927990eecf2f9eadd1a74d7b4daf9058c Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期五, 25 三月 2022 14:51:22 +0800 Subject: [PATCH] #杰克缝纫机立库 【根据单号检索单据数据】 优化 --- src/main/java/com/zy/asrs/entity/OrderDetl.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/OrderDetl.java b/src/main/java/com/zy/asrs/entity/OrderDetl.java index 78f8266..b5594ff 100644 --- a/src/main/java/com/zy/asrs/entity/OrderDetl.java +++ b/src/main/java/com/zy/asrs/entity/OrderDetl.java @@ -44,6 +44,12 @@ private Double anfme; /** + * 浣滀笟鏁伴噺 + */ + @ApiModelProperty(value= "浣滀笟鏁伴噺") + private Double qty; + + /** * 鍟嗗搧缂栫爜 */ @ApiModelProperty(value= "鍟嗗搧缂栫爜") @@ -268,5 +274,8 @@ return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime); } + public Double getEnableQty() { + return this.anfme - this.qty; + } } -- Gitblit v1.9.1