Commit 5e5495ad authored by litengwei's avatar litengwei

应急预案首节点自动启动逻辑新增

parent 9770d5c0
...@@ -294,7 +294,7 @@ public class ContingencyPlanServiceImpl implements IContingencyPlanService { ...@@ -294,7 +294,7 @@ public class ContingencyPlanServiceImpl implements IContingencyPlanService {
webMqttComponent.publish(topic, JSON.toJSONString(map)); webMqttComponent.publish(topic, JSON.toJSONString(map));
if(vo.getTriggerMode().equals("automatic")) { if(vo.getTriggerMode().equals("automatic")) {
iContingencyInstance.fire(batchNo, "0", "", instanceInfo.getId(), "FIRE_CONFIRM", "CONFIRM", "0", "true", "true", toke.getToke(), toke.getProduct(), toke.getAppKey(), null); iContingencyInstance.fire(batchNo, "0", "", instanceInfo.getId(), "FIRE_CONFIRM", "CONFIRM", "0", "true", "false", toke.getToke(), toke.getProduct(), toke.getAppKey(), null);
} }
} }
return result; return result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment