diff --git a/src/main/java/com/strandls/userGroup/pojo/GroupGallerySlider.java b/src/main/java/com/strandls/userGroup/pojo/GroupGallerySlider.java index f46c6f9..c83c360 100644 --- a/src/main/java/com/strandls/userGroup/pojo/GroupGallerySlider.java +++ b/src/main/java/com/strandls/userGroup/pojo/GroupGallerySlider.java @@ -36,6 +36,7 @@ public class GroupGallerySlider { private Long displayOrder; private String readMoreText; private String readMoreUIType; + private String gallerySidebar; @Id @GeneratedValue(strategy = GenerationType.AUTO) @@ -156,4 +157,13 @@ public void setReadMoreUIType(String readMoreUIType) { this.readMoreUIType = readMoreUIType; } + @Column(name = "gallery_sidebar", columnDefinition = "text default 'opaque'") + public String getGallerySidebar() { + return gallerySidebar; + } + + public void setGallerySidebar(String gallerySidebar) { + this.gallerySidebar = gallerySidebar; + } + } diff --git a/src/main/java/com/strandls/userGroup/service/impl/UserGroupServiceImpl.java b/src/main/java/com/strandls/userGroup/service/impl/UserGroupServiceImpl.java index 403871b..a562a97 100644 --- a/src/main/java/com/strandls/userGroup/service/impl/UserGroupServiceImpl.java +++ b/src/main/java/com/strandls/userGroup/service/impl/UserGroupServiceImpl.java @@ -1959,6 +1959,7 @@ public GroupHomePageData editHomePage(HttpServletRequest request, Long userGroup gallerySliderEntity.setDisplayOrder(editData.getDisplayOrder()); gallerySliderEntity.setReadMoreText(editData.getReadMoreText()); gallerySliderEntity.setReadMoreUIType(editData.getReadMoreUIType()); + gallerySliderEntity.setGallerySidebar(editData.getGallerySidebar()); groupGallerySliderDao.update(gallerySliderEntity); return getGroupHomePageData(userGroupId);