个人照处理

This commit is contained in:
tianfeng 2025-12-11 20:44:24 +08:00
parent d482a2bb4d
commit ab23797185

View File

@ -233,7 +233,7 @@ public class UserRunProfileServiceImpl implements UserRunProfileService {
CollectionUtils.newArrayList() ); CollectionUtils.newArrayList() );
} }
if (CollectionUtils.isNotEmpty(userRunProfile.getPersonalPhotos())) { if (userRunProfile.getPersonalPhotos() != null) {
update.set("personalPhotos", CollectionUtils.isNotEmpty(userRunProfile.getPersonalPhotos()) ? update.set("personalPhotos", CollectionUtils.isNotEmpty(userRunProfile.getPersonalPhotos()) ?
userRunProfile.getPersonalPhotos() : userRunProfile.getPersonalPhotos() :
CollectionUtils.newArrayList() ); CollectionUtils.newArrayList() );