|
|
@ -72,7 +72,8 @@ public class ControlResultSave { |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
String runSta = strategyLog.getStrategyRunRes() + statusCode; |
|
|
|
String s2 = strategyLog.getStrategyRunRes().substring(0,strategyLog.getStrategyRunRes().length()-1); |
|
|
|
|
|
|
|
String runSta = s2 + statusCode; |
|
|
|
psdcStrategyLogMapper.updateRunRes(strategyLog.getId(), upDateTime, 1, null, runSta, s[0], s[1]); |
|
|
|
psdcStrategyLogMapper.updateRunRes(strategyLog.getId(), upDateTime, 1, null, runSta, s[0], s[1]); |
|
|
|
|
|
|
|
|
|
|
|
synchronized (AppInfoRes.class) { |
|
|
|
synchronized (AppInfoRes.class) { |
|
|
@ -96,11 +97,13 @@ public class ControlResultSave { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
String runSta = strategyLog.getStrategyRunRes() + statusCode + ","; |
|
|
|
String s3 = strategyLog.getStrategyRunRes().substring(0,strategyLog.getStrategyRunRes().length()-1); |
|
|
|
|
|
|
|
String runSta = s3 + statusCode + ","; |
|
|
|
if (runSta.indexOf("null") >= 0) { |
|
|
|
if (runSta.indexOf("null") >= 0) { |
|
|
|
runSta = runSta.substring(4); |
|
|
|
runSta = runSta.substring(4); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (b1) { |
|
|
|
if (b1) { |
|
|
|
psdcStrategyLogMapper.updateRunRes(strategyLog.getId(), null, null, null, runSta, null, null); |
|
|
|
psdcStrategyLogMapper.updateRunRes(strategyLog.getId(), null, null, null, runSta, null, null); |
|
|
|
if (b2){ |
|
|
|
if (b2){ |
|
|
|