|
@@ -976,7 +976,7 @@ public class UserTenantAlbumRecordServiceImpl extends ServiceImpl<UserTenantAlbu
|
|
|
if(student != null && student.getTenantGroupId() != null){
|
|
|
List<TenantGroupAlbum> groupAlbums = tenantGroupAlbumService.lambdaQuery().in(TenantGroupAlbum::getTenantAlbumId, tenantAlbumIds)
|
|
|
.eq(TenantGroupAlbum::getTenantGroupId, student.getTenantGroupId())
|
|
|
- .eq(TenantGroupAlbum::getDelFlag, true).or().eq(TenantGroupAlbum::getStatus, false).list();
|
|
|
+ .and(x -> x.eq(TenantGroupAlbum::getDelFlag, true).or().eq(TenantGroupAlbum::getStatus, false)).list();
|
|
|
if (CollectionUtils.isNotEmpty(groupAlbums)){
|
|
|
ignoreTenantAlbumIds.addAll(groupAlbums.stream().map(TenantGroupAlbum::getTenantAlbumId).distinct().collect(Collectors.toList()));
|
|
|
}
|