代码调整

This commit is contained in:
tiger_zhou 2023-09-12 14:47:41 +08:00
parent 75cda8ad7e
commit b59f3fa369

View File

@ -97,7 +97,7 @@ public class AlertTipService {
List<AlertTipInfoDto> infoDtoList = Lists.newArrayListWithCapacity(page.getRecords().size()); List<AlertTipInfoDto> infoDtoList = Lists.newArrayListWithCapacity(page.getRecords().size());
for (AlertTip record : page.getRecords()) { for (AlertTip record : page.getRecords()) {
String name = areaIdNameMap.get(record.getId().longValue()); String name = areaIdNameMap.get(record.getAreaConfigId());
infoDtoList.add(new AlertTipInfoDto(record, name)); infoDtoList.add(new AlertTipInfoDto(record, name));
} }