Commit 9c567eaa authored by 高建强's avatar 高建强

item:预案自动执行提交

parent dd9e3add
...@@ -585,7 +585,6 @@ public class ContingencyInstanceImpl implements IContingencyInstance { ...@@ -585,7 +585,6 @@ public class ContingencyInstanceImpl implements IContingencyInstance {
RequestContext.setAppKey(appKey); RequestContext.setAppKey(appKey);
RequestContext.setProduct(product); RequestContext.setProduct(product);
RequestContext.setToken(token); RequestContext.setToken(token);
// planVisual3dService.updatePlanStep(batchNo, stepCode, buttonJson, contingencyPlanId, buttonCode, isExecute);
planVisual3dService.updatePlanStepToRedis(batchNo, stepCode, buttonJson, contingencyPlanId, buttonCode, isExecute); planVisual3dService.updatePlanStepToRedis(batchNo, stepCode, buttonJson, contingencyPlanId, buttonCode, isExecute);
setButtonExecuted(batchNo, contingencyPlanId, buttonCode, confirm, user); setButtonExecuted(batchNo, contingencyPlanId, buttonCode, confirm, user);
fire(batchNo, stepCode, contingencyPlanId, buttonCode, confirm, stepState); fire(batchNo, stepCode, contingencyPlanId, buttonCode, confirm, stepState);
......
...@@ -405,6 +405,7 @@ public class PlanVisual3dServiceImpl implements IPlanVisual3dService { ...@@ -405,6 +405,7 @@ public class PlanVisual3dServiceImpl implements IPlanVisual3dService {
x.setCheckYesOrNo("0"); x.setCheckYesOrNo("0");
} else { } else {
x.setCheckYesOrNo("1"); x.setCheckYesOrNo("1");
x.setIsAuto(1);
if (StringUtils.isNotBlank(x.getTime())) { if (StringUtils.isNotBlank(x.getTime())) {
x.setShowLine(true); x.setShowLine(true);
} }
......
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