diff --git a/tzipc-server/tzipc-datasyn/src/main/java/com/inspur/datasyn/modbus/IPCPlcDataSyncThread.java b/tzipc-server/tzipc-datasyn/src/main/java/com/inspur/datasyn/modbus/IPCPlcDataSyncThread.java index 381a4af..fb17ff8 100644 --- a/tzipc-server/tzipc-datasyn/src/main/java/com/inspur/datasyn/modbus/IPCPlcDataSyncThread.java +++ b/tzipc-server/tzipc-datasyn/src/main/java/com/inspur/datasyn/modbus/IPCPlcDataSyncThread.java @@ -70,7 +70,7 @@ public class IPCPlcDataSyncThread implements Runnable { // 获取运行状态,不一致则新增运行状态 String status = iIpcRunningStatusRecordService.selectLatestStatus(); String sss = iIpcRunningStatusRecordService.getSSS(); - if(sss==null){sss="4";} + if(sss==null){sss=IpcConstant.RUNNING_STATUS_SHUTDOWN;} if (StringUtils.isNull(status) || !status.equals(sss)) { status = sss; iIpcRunningStatusRecordService.insertIpcRunningStatusRecord(new IpcRunningStatusRecord(status)); diff --git a/tzipc-ui/src/views/ipc/faultTree/faultTreeShow.vue b/tzipc-ui/src/views/ipc/faultTree/faultTreeShow.vue index fdc29b8..f726740 100644 --- a/tzipc-ui/src/views/ipc/faultTree/faultTreeShow.vue +++ b/tzipc-ui/src/views/ipc/faultTree/faultTreeShow.vue @@ -68,7 +68,6 @@ export default { getFaultTreeShow(this.part).then((response) => { const nodes = this.handleTree(response.data, "nodeId", "parentId"); this.updateParentStatusBasedOnLogic(nodes); - console.log(nodes); this.treeData = nodes[0].children; this.loading = false; });