From 6a57d3d312c42091c5f32757b5cbc34d2aab5c04 Mon Sep 17 00:00:00 2001 From: Gary Date: Thu, 8 Feb 2024 00:57:02 +0800 Subject: [PATCH] 1.update song id --- .../src/main/java/com/luoo/music/service/CMSJournalService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 7bd5e8a..ed64ee9 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 @@ -420,7 +420,7 @@ public class CMSJournalService { for (int i = 0; i < songList.size(); i++) { SongInfo song = songList.get(i); JournalSong journalSong = new JournalSong(); - journalSong.setId(String.valueOf(idWorker.nextId())); + journalSong.setId(song.getId()); journalSong.setName(song.getName()); journalSong.setAlbum(song.getAlbum()); journalSong.setArtist(song.getArtist());