Skip to content

Commit

Permalink
fix: #1514
Browse files Browse the repository at this point in the history
  • Loading branch information
chengjiexu committed Mar 4, 2020
1 parent e7be870 commit 5eaf46b
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 5eaf46b

Please sign in to comment.