From 8447ef39c9b62e1b0d41d2a494713a99db06a091 Mon Sep 17 00:00:00 2001 From: 1111 Date: Sat, 23 Nov 2019 14:42:14 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E9=87=87=E8=B4=AD=E6=94=B6=E8=B4=A7?= =?UTF-8?q?=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/estsh/i3plus/pojo/wms/dto/WmsPartQtyDto.java | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/dto/WmsPartQtyDto.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/dto/WmsPartQtyDto.java index 55f83db..4bd50f1 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/dto/WmsPartQtyDto.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/dto/WmsPartQtyDto.java @@ -14,9 +14,22 @@ public class WmsPartQtyDto { @ApiParam(value = "物料编码") private String partNo; @ApiParam(value = "应收数量") - private String qty; + private Double qty; @ApiParam(value = "实收数量") - private String rcQty; + private Double rcQty; @ApiParam(value = "待收数量") - private String dueQty; + private Double dueQty; + + + public Double getQty() { + return qty == null? 0.0:qty; + } + + public Double getRcQty() { + return rcQty == null? 0.0:qty; + } + + public Double getDueQty() { + return dueQty == null? 0.0:qty; + } }