From 53e7dce8d55487cbac64e4374ec9aa1b52a6c6ed Mon Sep 17 00:00:00 2001
From: SZH <szh_hello@163.com>
Date: Thu, 09 Mar 2023 21:16:43 +0800
Subject: [PATCH] 解决npe问题
---
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/SafeMaterialInfo.java | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/SafeMaterialInfo.java b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/SafeMaterialInfo.java
index a2a467b..76a9e62 100644
--- a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/SafeMaterialInfo.java
+++ b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/SafeMaterialInfo.java
@@ -44,6 +44,14 @@
*/
private Byte consumable;
/**
+ * 有效数量
+ */
+ private Integer totalCount;
+ /**
+ * 库存数量
+ */
+ private Integer stockCount;
+ /**
* 删除标识
*/
@TableField(fill = FieldFill.INSERT) //自动填充的注解
@@ -202,5 +210,19 @@
this.updateTime = updateTime;
}
+ 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