瀏覽代碼

添加消息

lihui001 3 年之前
父節點
當前提交
bb8f23a45e

+ 2 - 2
zoniot-water/zoniot-water-web/src/main/java/com/bz/zoneiot/water/web/service/impl/AlarmTypeDetailsServiceImpl.java

@@ -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);