From 53e7dce8d55487cbac64e4374ec9aa1b52a6c6ed Mon Sep 17 00:00:00 2001 From: SZH <szh_hello@163.com> Date: 星期四, 09 三月 2023 21:16:43 +0800 Subject: [PATCH] 解决npe问题 --- equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/SafeMaterialDO.java | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/SafeMaterialDO.java b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/SafeMaterialDO.java index fcc9cdd..3f0df27 100644 --- a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/SafeMaterialDO.java +++ b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/SafeMaterialDO.java @@ -25,6 +25,7 @@ private String bigClassifyName; private Long smallClassifyId; + private String smallClassifyName; /** * 部门id */ @@ -37,6 +38,11 @@ * 物资名称 */ private String materialName; + /** + * + */ + private Integer totalCount; + private Integer stockCount; /** * 是否是耗材(0是, 1否) */ @@ -209,4 +215,28 @@ public void setSmallClassifyId(Long smallClassifyId) { this.smallClassifyId = smallClassifyId; } + + public String getSmallClassifyName() { + return smallClassifyName; + } + + public void setSmallClassifyName(String smallClassifyName) { + this.smallClassifyName = smallClassifyName; + } + + public Integer getTotalCount() { + return totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public Integer getStockCount() { + return stockCount; + } + + public void setStockCount(Integer stockCount) { + this.stockCount = stockCount; + } } -- Gitblit v1.9.2