|
@@ -168,8 +168,9 @@ public class AlarmService {
|
|
|
|
|
|
Map<String, String> nameToNemcodeMap = bylists.stream()
|
|
|
.collect(Collectors.toMap(
|
|
|
- ProEconAlarmType::getName,
|
|
|
- ProEconAlarmType::getNemCode
|
|
|
+ ProEconAlarmType::getName,
|
|
|
+ ProEconAlarmType::getNemCode,
|
|
|
+ (existing, replacement) -> existing
|
|
|
));
|
|
|
|
|
|
|