Parcourir la source

完善opc展示

hfxc226 il y a 1 an
Parent
commit
b0fcf3e626

+ 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);
                     }
                 }