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/KeypointEquipmentInfo.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/KeypointEquipmentInfo.java b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/KeypointEquipmentInfo.java index e778692..406f294 100644 --- a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/KeypointEquipmentInfo.java +++ b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/KeypointEquipmentInfo.java @@ -139,13 +139,13 @@ this.responsibilityPersonName = responsibilityPersonName; } //装置部位分类 1:关键装置 2:重点部位 - private Integer partType; + private Byte partType; - public Integer getPartType() { + public Byte getPartType() { return partType; } - public void setPartType(Integer partType) { + public void setPartType(Byte partType) { this.partType = partType; } //检查周期 @@ -229,4 +229,4 @@ this.delFlag = delFlag; } -} \ No newline at end of file +} -- Gitblit v1.9.2