From 6eded5fa883395b681518803e5dbe47445641997 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=85=B4=E7=90=B3?= <1911390090@qq.com> Date: Wed, 24 Apr 2024 18:33:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=20=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E6=94=B6=E8=B4=B9=E7=AB=99=20=E8=AE=BE=E6=96=BDid=20=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/zc/business/service/impl/DcEventServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 4732167c..5a5579a0 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 @@ -168,8 +168,8 @@ public class DcEventServiceImpl extends ServiceImpl impl dcEvent.setStakeMark( extracted(facilityId)); } //交通管制 - if (eventType ==3 && dcEvent.getDcEventTrafficControl().getFacilityId() != null) { - String facilityId = String.valueOf(dcEvent.getDcEventTrafficControl().getFacilityId()); + if (eventType ==3 && dcEvent.getDcEventTrafficControl().getFacilityIds() != null) { + String facilityId = String.valueOf(dcEvent.getDcEventTrafficControl().getFacilityIds()[0]); dcEvent.setStakeMark( extracted(facilityId)); } //交通拥堵