|
@@ -687,9 +687,9 @@ public class UserTenantAlbumRecordServiceImpl extends ServiceImpl<UserTenantAlbu
|
|
|
if (tenantGroupId != null) { // 学生只看当前就够的专辑列表
|
|
|
QueryWrapper<TenantGroupAlbum> queryWrapper = new QueryWrapper<>();
|
|
|
queryWrapper.lambda()
|
|
|
- .eq(TenantGroupAlbum::getTenantGroupId, tenantGroupId);
|
|
|
-// .eq(TenantGroupAlbum::getDelFlag, false)
|
|
|
-// .eq(TenantGroupAlbum::getStatus, true);
|
|
|
+ .eq(TenantGroupAlbum::getTenantGroupId, tenantGroupId)
|
|
|
+ .eq(TenantGroupAlbum::getDelFlag, false)
|
|
|
+ .eq(TenantGroupAlbum::getStatus, true);
|
|
|
List<TenantGroupAlbum> tenantGroupAlbums = tenantGroupAlbumMapper.selectList(queryWrapper);
|
|
|
if (CollectionUtils.isEmpty(tenantGroupAlbums)) {
|
|
|
return new ArrayList<>();
|