|
@@ -121,6 +121,17 @@ public class CommunityPrivacyServiceImpl extends ServiceImpl<CommunityUserPrivac
|
|
|
if (communityUserPrivacy.getIsNames() != null) {
|
|
|
updateWrapper.set("is_names", communityUserPrivacy.getIsNames());
|
|
|
}
|
|
|
+ if (communityUserPrivacy.getIsFollow() != null) {
|
|
|
+ updateWrapper.set("is_follow", communityUserPrivacy.getIsFollow());
|
|
|
+ }
|
|
|
+
|
|
|
+ if (communityUserPrivacy.getIsFans() != null) {
|
|
|
+ updateWrapper.set("is_fans", communityUserPrivacy.getIsFans());
|
|
|
+ }
|
|
|
+
|
|
|
+ if (communityUserPrivacy.getIsAccompany() != null) {
|
|
|
+ updateWrapper.set("is_accompany", communityUserPrivacy.getIsAccompany());
|
|
|
+ }
|
|
|
|
|
|
// 执行更新操作
|
|
|
boolean updated = this.update(updateWrapper);
|