Commit 91b6c985 by shenjunjie

Merge branch 'release' into 'master'

Release

See merge request !81
parents a43fc31e 35d30636
......@@ -167,13 +167,18 @@ public class TaskServiceCommon extends BaseTaskTypePair<TaskServiceCommon.TaskCo
}
private void clearTemplateDaySum(Map<String, TemplateTitleVo> template) {
Set<String> removeKey = new HashSet<>();
for (Map.Entry<String, TemplateTitleVo> entry : template.entrySet()) {
try {
entry.getValue().setDaySum(0L);
} catch (Exception e) {
log.error("模板初始化失败:{},", entry, e);
removeKey.add(entry.getKey());
}
}
if (!removeKey.isEmpty()) {
removeKey.forEach(template::remove);
}
}
/**
......
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