Commit 9770d5c0 authored by litengwei's avatar litengwei

预案新增自动启动逻辑

parent 70c1d921
......@@ -282,6 +282,9 @@ public class ContingencyPlanServiceImpl implements IContingencyPlanService {
Map<String, Object> map = new HashMap<>();
JSONObject msgContext = new JSONObject();
msgContext.put("content", "startPlanFirst");
if(vo.getTriggerMode().equals("automatic")) {
msgContext.put("isShowAlertBox", "true");
}
map.put("contingency", new ContingencyRo());
// map.put("msgContext", "{\"content\":\"startPlan\"}");
// msgContext.put("content", "startPlan");
......
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