From f7d2f20365467a834188edd35c464d9fb9349214 Mon Sep 17 00:00:00 2001 From: zhangfeng <1603559716@qq.com> Date: 星期五, 23 十二月 2022 08:53:43 +0800 Subject: [PATCH] 安全物资和设备管理调整v2 --- equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/resp/SafeMaterialDto.java | 24 +++++++++++++++++++----- 1 files changed, 19 insertions(+), 5 deletions(-) diff --git a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/resp/SafeMaterialDto.java b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/resp/SafeMaterialDto.java index 6e0e6d2..c9c14bc 100644 --- a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/resp/SafeMaterialDto.java +++ b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/resp/SafeMaterialDto.java @@ -42,7 +42,13 @@ /** * 有效库存数量 */ - private Integer validStockCount; + private Integer stockCount; + + /** + * 总库存 + * @return + */ + private Integer totalCount; public Long getId() { return id; @@ -102,12 +108,20 @@ this.consumableName = consumableName; } - public Integer getValidStockCount() { - return validStockCount; + public Integer getStockCount() { + return stockCount; } - public void setValidStockCount(Integer validStockCount) { - this.validStockCount = validStockCount; + public void setStockCount(Integer stockCount) { + this.stockCount = stockCount; + } + + public Integer getTotalCount() { + return totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; } public Long getBigClassifyId() { -- Gitblit v1.9.2