Commit 1cde7025 authored by 高东东's avatar 高东东

*)添加预案回放

parent ee8e7742
...@@ -177,15 +177,6 @@ public class TimeLineController extends BaseController{ ...@@ -177,15 +177,6 @@ public class TimeLineController extends BaseController{
} }
String operate = "{" + String operate = "{" +
" \"type\": \"button\"," + " \"type\": \"button\"," +
" \"operate\": [" + " \"operate\": [" +
......
...@@ -117,6 +117,8 @@ public class RuleRunigSnapshotServiceImpl ...@@ -117,6 +117,8 @@ public class RuleRunigSnapshotServiceImpl
String batchNo = null; String batchNo = null;
if (contingency instanceof ContingencyRo) { if (contingency instanceof ContingencyRo) {
batchNo = ((ContingencyRo) contingency).getBatchNo(); batchNo = ((ContingencyRo) contingency).getBatchNo();
} else if (contingency instanceof String) {
batchNo = contingency.toString();
} else { } else {
batchNo = (String) redisTemplate.opsForValue().get(RiskSourceServiceImpl.cacheKeyForCanBeRunning()); batchNo = (String) redisTemplate.opsForValue().get(RiskSourceServiceImpl.cacheKeyForCanBeRunning());
} }
......
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