From b59f3fa36909d13b1fa34597afc951d9d1576ea1 Mon Sep 17 00:00:00 2001 From: tiger_zhou Date: Tue, 12 Sep 2023 14:47:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/club/joylink/xiannccda/service/AlertTipService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/club/joylink/xiannccda/service/AlertTipService.java b/src/main/java/club/joylink/xiannccda/service/AlertTipService.java index 3ae2520..ca92c5c 100644 --- a/src/main/java/club/joylink/xiannccda/service/AlertTipService.java +++ b/src/main/java/club/joylink/xiannccda/service/AlertTipService.java @@ -97,7 +97,7 @@ public class AlertTipService { List infoDtoList = Lists.newArrayListWithCapacity(page.getRecords().size()); for (AlertTip record : page.getRecords()) { - String name = areaIdNameMap.get(record.getId().longValue()); + String name = areaIdNameMap.get(record.getAreaConfigId()); infoDtoList.add(new AlertTipInfoDto(record, name)); }