diff --git a/luoo_music/src/main/java/com/luoo/music/service/CMSJournalService.java b/luoo_music/src/main/java/com/luoo/music/service/CMSJournalService.java index b1ba294..4d359de 100644 --- a/luoo_music/src/main/java/com/luoo/music/service/CMSJournalService.java +++ b/luoo_music/src/main/java/com/luoo/music/service/CMSJournalService.java @@ -433,11 +433,7 @@ public class CMSJournalService { if (!CollectionUtils.isEmpty(updateSongs)) { List songList = songDao.orderByField(updateSongs); List journalSongs=journalSongDao.findByJournalNoOrderBySongNo(journalNo); - //如果JournalSong 保存信息与SongInfo 一致,则不更新 - if(isSameContent(songList,journalSongs)) { - return; - } - + Map songId2JournalSongIdMap=journalSongs.stream().collect(Collectors.toMap(JournalSong::getSongId, JournalSong::getId)); List updatedJournalSong = new ArrayList<>();