From fc468a1c83be3997f9a7f32c6f61bc2795594579 Mon Sep 17 00:00:00 2001
From: 郑永安 <zyazyz250@sina.com>
Date: 星期一, 03 七月 2023 14:15:39 +0800
Subject: [PATCH] 版本上传异常修复
---
src/main/java/com/ruoyi/doublePrevention/entity/PreventRiskDangerInfo.java | 128 ++----------------------------------------
1 files changed, 6 insertions(+), 122 deletions(-)
diff --git a/src/main/java/com/ruoyi/doublePrevention/entity/PreventRiskDangerInfo.java b/src/main/java/com/ruoyi/doublePrevention/entity/PreventRiskDangerInfo.java
index 30a38f5..fc90d3c 100644
--- a/src/main/java/com/ruoyi/doublePrevention/entity/PreventRiskDangerInfo.java
+++ b/src/main/java/com/ruoyi/doublePrevention/entity/PreventRiskDangerInfo.java
@@ -2,9 +2,10 @@
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
+import lombok.Data;
import java.util.Date;
-
+@Data
public class PreventRiskDangerInfo {
/**
@@ -58,6 +59,10 @@
* */
private Byte timeoutFlag;
/**
+ * 隐患造成的结果:1-无;2-轻伤;3-重伤;4-死亡
+ */
+ private Byte dangerResult;
+ /**
* 同步时间
*/
private Date reportTime;
@@ -73,127 +78,6 @@
* 上报开关 1-上报;2-不上报
*/
private Byte reportSwitch;
- /**
- * 隐患造成的结果:1-无;2-轻伤;3-重伤;4-死亡
- */
- private Byte dangerResult;
- public Byte getDangerResult() {
- return dangerResult;
- }
- public void setDangerResult(Byte dangerResult) {
- this.dangerResult = dangerResult;
- }
- public Long getId() {
- return id;
- }
-
- public void setId(Long id) {
- this.id = id;
- }
-
- public String getUuid() {
- return Uuid;
- }
-
- public void setUuid(String uuid) {
- Uuid = uuid;
- }
-
- public Long getDangerCheckPointId() {
- return dangerCheckPointId;
- }
-
- public void setDangerCheckPointId(Long dangerCheckPointId) {
- this.dangerCheckPointId = dangerCheckPointId;
- }
-
- public String getHazardCode() {
- return hazardCode;
- }
-
- public void setHazardCode(String hazardCode) {
- this.hazardCode = hazardCode;
- }
-
- public Byte getDangerSrc() {
- return dangerSrc;
- }
-
- public void setDangerSrc(Byte dangerSrc) {
- this.dangerSrc = dangerSrc;
- }
-
- public String getDangerDesc() {
- return dangerDesc;
- }
-
- public void setDangerDesc(String dangerDesc) {
- this.dangerDesc = dangerDesc;
- }
-
- public String getDangerReason() {
- return dangerReason;
- }
-
- public void setDangerReason(String dangerReason) {
- this.dangerReason = dangerReason;
- }
-
- public Byte getHazardDangerType() {
- return hazardDangerType;
- }
-
- public void setHazardDangerType(Byte hazardDangerType) {
- this.hazardDangerType = hazardDangerType;
- }
-
- public Byte getDangerState() {
- return dangerState;
- }
-
- public void setDangerState(Byte dangerState) {
- this.dangerState = dangerState;
- }
-
- public Byte getTimeoutFlag() {
- return timeoutFlag;
- }
-
- public void setTimeoutFlag(Byte timeoutFlag) {
- this.timeoutFlag = timeoutFlag;
- }
-
- public Date getReportTime() {
- return reportTime;
- }
-
- public void setReportTime(Date reportTime) {
- this.reportTime = reportTime;
- }
-
- public Date getUpdateReportDataTime() {
- return updateReportDataTime;
- }
-
- public void setUpdateReportDataTime(Date updateReportDataTime) {
- this.updateReportDataTime = updateReportDataTime;
- }
-
- public Byte getReportStatus() {
- return reportStatus;
- }
-
- public void setReportStatus(Byte reportStatus) {
- this.reportStatus = reportStatus;
- }
-
- public Byte getReportSwitch() {
- return reportSwitch;
- }
-
- public void setReportSwitch(Byte reportSwitch) {
- this.reportSwitch = reportSwitch;
- }
}
--
Gitblit v1.9.2