hfxc226 преди 1 година
родител
ревизия
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);
                     }
                 }