Commit 975ca808 by zhangkb

Merge branch 'hy-tobacco' of ssh://132.232.112.242:7022/zhangkb/indicators into hy-tobacco

parents 54abfc3a 57d4baac
......@@ -596,12 +596,12 @@ public class TaskServiceImpl implements TaskService {
allTasks.add(task);
}
}
if (!allTasks.isEmpty()) {
if (result != null && !allTasks.isEmpty()) {
this.batchCreateTask(allTasks, valueTime, ruleId);
rule.setLastActiveTime(now);
taskRuleService.updateRuleWithInd(rule);
result = Result.genOkResult();
} else {
} else if (result != null) {
result = Result.genFailedResult("规则配置没有生成可用的任务信息");
}
} else {
......
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