|
@@ -109,6 +109,10 @@ public class MusicTagServiceImpl extends ServiceImpl<MusicTagDao, MusicTag> impl
|
|
|
.eq(MusicTag::getDelFlag, false)
|
|
|
.list();
|
|
|
List<Long> longs = list.stream().map(MusicTag::getId).collect(Collectors.toList());
|
|
|
+ if (CollectionUtils.isEmpty(longs)) {
|
|
|
+ longs = new ArrayList<>();
|
|
|
+ }
|
|
|
+ longs.add(musicTagId);
|
|
|
if (baseMapper.checkTagBeUsedMusicAblum(longs) >0) return true;
|
|
|
if (baseMapper.checkTagBeUsedMusicSheet(longs) >0) return true;
|
|
|
|