Skip to content

Commit

Permalink
Merge pull request #1515 from chengjiexu/dev-0.3
Browse files Browse the repository at this point in the history
fix: #1514
  • Loading branch information
RichardShan authored Mar 4, 2020
2 parents e7be870 + 5eaf46b commit bd5296d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,9 @@ public List<MemDisplaySlideWidget> addMemDisplaySlideWidgets(Long displayId, Lon
List<MemDisplaySlideWidget> list = new ArrayList<>();
List<MemDisplaySlideWidget> clist = new ArrayList<>();
for (MemDisplaySlideWidgetCreate slideWidgetCreate : slideWidgetCreates) {
ids.add(slideWidgetCreate.getWidgetId());
if (null != slideWidgetCreate.getWidgetId()){
ids.add(slideWidgetCreate.getWidgetId());
}
MemDisplaySlideWidget memDisplaySlideWidget = new MemDisplaySlideWidget().createdBy(user.getId());
BeanUtils.copyProperties(slideWidgetCreate, memDisplaySlideWidget);
list.add(memDisplaySlideWidget);
Expand Down

0 comments on commit bd5296d

Please sign in to comment.