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; + } }