From c1e0bd7455c41b2323c47445cbc160b500ada527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=85=B4=E7=90=B3?= <1911390090@qq.com> Date: Fri, 31 May 2024 17:26:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=9E=E6=B3=95=E4=B8=8A=E8=B7=AF=E3=80=81?= =?UTF-8?q?=E8=B7=AF=E9=9A=9C=E3=80=81=E8=AE=BE=E5=A4=87=E8=AE=BE=E6=96=BD?= =?UTF-8?q?=E9=9A=90=E6=82=A3=E3=80=81=E5=85=B6=E4=BB=96=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=EF=BC=8C=E6=8F=90=E4=BA=A4=E5=90=8E=EF=BC=8C=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E4=B8=8D=E6=98=AF=E5=A4=84=E7=BD=AE=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/zc/business/service/impl/DcEventServiceImpl.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java b/zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java index 0e4fc7f0..9f23efb8 100644 --- a/zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java +++ b/zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java @@ -471,9 +471,13 @@ public class DcEventServiceImpl extends ServiceImpl impl break; //非法上路 case 5: + updateDcEventState(uuid,1);//直接确认 + break; //路障清除 case 6: + updateDcEventState(uuid,1);//直接确认 + break; //施工建设 case 7: @@ -496,6 +500,8 @@ public class DcEventServiceImpl extends ServiceImpl impl break; //设施设备隐患 case 9: + updateDcEventState(uuid,1);//直接确认 + break; //异常天气 case 10: @@ -508,7 +514,6 @@ public class DcEventServiceImpl extends ServiceImpl impl break; //其他事件 case 11: - if (dcEventId != null) {//首页进入 DcEvent dcEvent1 = new DcEvent(); dcEvent1.setId(dcEventId);//事件id @@ -518,6 +523,8 @@ public class DcEventServiceImpl extends ServiceImpl impl dcEvent.setEventNature(2l); dcEventMapper.updateDcEventLinkId(dcEvent);//修改 新添加的 事件性质 updateDcEventState(uuid,1);//直接确认 + }else { + updateDcEventState(uuid,1);//直接确认 } break;