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/model/dto/req/SafeMaterialModReq.java | 30 +-----------------------------
1 files changed, 1 insertions(+), 29 deletions(-)
diff --git a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/SafeMaterialModReq.java b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/SafeMaterialModReq.java
index 56ab3c4..41898f2 100644
--- a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/SafeMaterialModReq.java
+++ b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/SafeMaterialModReq.java
@@ -15,19 +15,7 @@
*/
@NotNull(message = "物资类型(大类)不可为空!")
private Long bigClassifyId;
- /**
- * 部门id
- */
- @NotNull(message = "所属部门不可为空!")
- private Long depId;
- /**
- * 物资名称
- */
- /**
- * 是否是耗材(0是, 1否)
- */
- @NotNull(message = "是否是耗材不可为空!")
- private Byte consumable;
+
public Long getId() {
return id;
@@ -43,22 +31,6 @@
public void setSmallClassifyId(Long smallClassifyId) {
this.smallClassifyId = smallClassifyId;
- }
-
- public Long getDepId() {
- return depId;
- }
-
- public void setDepId(Long depId) {
- this.depId = depId;
- }
-
- public Byte getConsumable() {
- return consumable;
- }
-
- public void setConsumable(Byte consumable) {
- this.consumable = consumable;
}
public Long getBigClassifyId() {
--
Gitblit v1.9.2