diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsStockQuan.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsStockQuan.java index 0c5cb4c..4c690e0 100644 --- a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsStockQuan.java +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsStockQuan.java @@ -122,6 +122,10 @@ public class WmsStockQuan extends BaseBean { @ApiParam(value = "报废数量", example = "0") private Double scrapQty; + @Transient + @ApiParam(value = "总数量") + private Double totalQty; + public Double getQtyVal() { return this.qty == null ? 0 : this.qty; } @@ -158,6 +162,10 @@ public class WmsStockQuan extends BaseBean { return this.scrapQty == null ? 0 : this.scrapQty; } + public Double getTotalVal() { + return this.totalQty == null ? 0 : this.totalQty; + } + public WmsStockQuan() { }