|
@@ -106,13 +106,13 @@ public class AlarmTypeDetailsServiceImpl implements AlarmTypeDetailsService {
|
|
|
for (AlarmDetailsEntity entity : entities) {
|
|
|
if (entity.getId() != null) {
|
|
|
alarmTypeDetailMapper.update(entity);
|
|
|
- builder.append(",").append(entity.getId());
|
|
|
+ builder.append(" ").append(entity.getId());
|
|
|
} else {
|
|
|
addList.add(entity);
|
|
|
}
|
|
|
}
|
|
|
if (builder.length() > 0 ){
|
|
|
- log.info("【接收告警信息】:更新数:{}", builder.toString());
|
|
|
+ log.info("【接收告警信息】:更新ID:{}", builder.toString());
|
|
|
}
|
|
|
if (addList.size() > 0){
|
|
|
alarmTypeDetailMapper.batchInsert(addList);
|