From 475a645bf6778711ea007a92f4880e843b07a7bc Mon Sep 17 00:00:00 2001 From: 16639036659 <577530412@qq.com> Date: 星期一, 31 十月 2022 16:47:28 +0800 Subject: [PATCH] 隐患信息补全 --- src/main/java/com/ruoyi/doublePrevention/entity/PreventRiskDangerInfo.java | 23 ++++++++++++----------- 1 files changed, 12 insertions(+), 11 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..904fe7f 100644 --- a/src/main/java/com/ruoyi/doublePrevention/entity/PreventRiskDangerInfo.java +++ b/src/main/java/com/ruoyi/doublePrevention/entity/PreventRiskDangerInfo.java @@ -58,6 +58,10 @@ * */ private Byte timeoutFlag; /** + * 隐患造成的结果:1-无;2-轻伤;3-重伤;4-死亡 + */ + private Byte dangerResult; + /** * 同步时间 */ private Date reportTime; @@ -73,18 +77,7 @@ * 上报开关 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; } @@ -165,6 +158,14 @@ this.timeoutFlag = timeoutFlag; } + public Byte getDangerResult() { + return dangerResult; + } + + public void setDangerResult(Byte dangerResult) { + this.dangerResult = dangerResult; + } + public Date getReportTime() { return reportTime; } -- Gitblit v1.9.2