Commit f9387773 authored by KeYong's avatar KeYong

预案结束清空redis

parent 1445a883
...@@ -738,6 +738,9 @@ public class ContingencyAction implements CustomerAction { ...@@ -738,6 +738,9 @@ public class ContingencyAction implements CustomerAction {
this.sendcmd("message", paramObj, result); this.sendcmd("message", paramObj, result);
redisTemplate.delete("contingencyRo"); redisTemplate.delete("contingencyRo");
// 预案结束清空redis
planStepService.initPlanStep();
planStepService.initPlanTask();
} }
private void planDetailDataSync(PlanDetail detail) { private void planDetailDataSync(PlanDetail detail) {
......
...@@ -881,6 +881,8 @@ public class ContingencyPlanServiceImpl implements IContingencyPlanService { ...@@ -881,6 +881,8 @@ public class ContingencyPlanServiceImpl implements IContingencyPlanService {
logger.info("数据同步之消息发送. [method='{}']", "activatePlan==>syncCreatedPlanDetailSyncBo==>syncCreatedPlanOperationRecordSyncBo", e); logger.info("数据同步之消息发送. [method='{}']", "activatePlan==>syncCreatedPlanDetailSyncBo==>syncCreatedPlanOperationRecordSyncBo", e);
} }
} }
planStepService.initPlanStep();
planStepService.initPlanTask();
} catch (Exception e) { } catch (Exception e) {
bool.set(false); bool.set(false);
e.printStackTrace(); e.printStackTrace();
......
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