|
@@ -223,7 +223,7 @@ public class UserTenantAlbumRecordServiceImpl extends ServiceImpl<UserTenantAlbu
|
|
|
Long id = sysUser.getId();
|
|
|
List<Student> list = studentService.lambdaQuery().eq(Student::getUserId, id).list();
|
|
|
if (CollectionUtils.isEmpty(list)) {
|
|
|
- throw new BizException("学生未绑定");
|
|
|
+ throw new BizException("学生账号未找到");
|
|
|
}
|
|
|
Student student = list.get(0);
|
|
|
//获取机构Id
|
|
@@ -232,7 +232,7 @@ public class UserTenantAlbumRecordServiceImpl extends ServiceImpl<UserTenantAlbu
|
|
|
List<TenantAlbumMusic> tenantAlbumMusicList = tenantAlbumMusicService.lambdaQuery().eq(TenantAlbumMusic::getTenantId, tenantId)
|
|
|
.eq(TenantAlbumMusic::getDelFlag,false).list();
|
|
|
if (CollectionUtils.isEmpty(tenantAlbumMusicList)) {
|
|
|
- throw new BizException("机构未绑定对应专辑");
|
|
|
+ return null;
|
|
|
}
|
|
|
TenantAlbumMusic tenantAlbumMusic = tenantAlbumMusicList.get(0);
|
|
|
tenantAlbumId = tenantAlbumMusic.getTenantAlbumId();
|