Commit 80e3ec30 by 丁伟峰

bugfix: 列表添加

1 parent b4449251
...@@ -101,9 +101,8 @@ public class EngineerCalendarServiceImpl implements EngineerCalendarService { ...@@ -101,9 +101,8 @@ public class EngineerCalendarServiceImpl implements EngineerCalendarService {
content.setType("leave"); content.setType("leave");
content.setTitle(e.getType()); content.setTitle(e.getType());
content.setValue(getCalendarDuration(e.getStartTime(), e.getEndTime())); content.setValue(getCalendarDuration(e.getStartTime(), e.getEndTime()));
contents.add(content); calander.getContent().add(content);
} }
calander.setContent(contents);
} }
calendars.add(calander); calendars.add(calander);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!