fix:修复舰R脚本多调用了一次start
This commit is contained in:
parent
75b43e40e5
commit
08bbd247a4
@ -24,6 +24,7 @@ public class JianRTaskManager {
|
|||||||
|
|
||||||
public void setTask(JianRScriptData data) {
|
public void setTask(JianRScriptData data) {
|
||||||
task = data;
|
task = data;
|
||||||
|
runIndex=0;
|
||||||
String s = RedisTools.get("jianrScript_RunIndex_" + data.getName());
|
String s = RedisTools.get("jianrScript_RunIndex_" + data.getName());
|
||||||
if (s != null) {
|
if (s != null) {
|
||||||
runIndex = Integer.parseInt(s);
|
runIndex = Integer.parseInt(s);
|
||||||
|
Loading…
Reference in New Issue
Block a user