yuanliang il y a 1 an
Parent
commit
6db5027ab2

+ 3 - 3
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/UserTenantAlbumRecordServiceImpl.java

@@ -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<>();