hfxc226 1 год назад
Родитель
Сommit
b0fcf3e626
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      platform-opc/src/main/java/com/platform/opc/servie/OpcTask.java

+ 1 - 1
platform-opc/src/main/java/com/platform/opc/servie/OpcTask.java

@@ -48,7 +48,7 @@ public class OpcTask {
                 if (!CollectionUtils.isEmpty(uniqueStr)) {
                     List<RemoteOpc> remoteOpcList = OpcDAClient.addGroupAndItems(findAllItems(uniqueStr));
                     if (!CollectionUtils.isEmpty(remoteOpcList)) {
-                        // remoteOpcMapper.updateBatch(remoteOpcList);
+                        remoteOpcMapper.updateBatch(remoteOpcList);
                         // log.info("添加新点位:" + uniqueStr);
                     }
                 }