Commit fd50cd03 by liuyu

Merge branch 'release' into 'master'

Release

See merge request !57
parents 81bed74d 836179c2
......@@ -169,7 +169,11 @@ public class TaskServiceCommon extends BaseTaskTypePair<TaskServiceCommon.TaskCo
private void clearTemplateDaySum(Map<String, TemplateTitleVo> template) {
for (Map.Entry<String, TemplateTitleVo> entry : template.entrySet()) {
try {
entry.getValue().setDaySum(0L);
} catch (Exception e) {
log.error("模板初始化失败:{},", entry, e);
}
}
}
......
......@@ -160,7 +160,8 @@ public class TaskServiceTemplate extends BaseTaskTypePair<TaskServiceTemplate.Ta
}
private void templateDayClear(AutoTask autoTask) {
templateTitleService.clearDaySum(autoTask.getGroup(),
autoTask.getParamSource().getLong(GenericAttribute.START_PARAM), autoTask.getParamSource().getLong(GenericAttribute.END_PARAM));
}
/**
......
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