Commit 0392363b authored by KeYong's avatar KeYong

修改代码

parent 08e0d0aa
......@@ -138,12 +138,6 @@ public class ContingencyAction implements CustomerAction {
@Value("${maparea.action.is-area}")
private String isArea;
// @Value("${plan.default.roleCode}")
// private String defaultRoleCode;
@Value("${plan.web.isUpdatePlanStep}")
private Boolean isUpdatePlanStep;
private static Map<String, String> OPERATE_RECORD_ID = new HashMap<>();
private static Map<String, ContingencyPlanInstance> OPERATE_CONTINGENCYPLAN_INSTANCE = new HashMap<>();
......@@ -465,7 +459,7 @@ public class ContingencyAction implements CustomerAction {
result.add(tempmap1);
this.sendcmd("optionarea", paramObj, result);
if (!isUpdatePlanStep) {
// 默认调用当前动作
try {
ButtonJsonVO buttonJsonVO = JSONObject.parseObject(buttonJson, ButtonJsonVO.class);
Map<String, Object> map = buttonJsonVO.getOperate().get(buttonJsonVO.getOperate().size() - 1);
......@@ -473,7 +467,6 @@ public class ContingencyAction implements CustomerAction {
} catch (Exception e) {
log.error("optionarea 加入队列失败-->" + e.getMessage());
}
}
MessageVO messageVO = new MessageVO();
messageVO.setTitle("应急处置事项提醒");
......
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