From 7678d176552c342331978c1470f1fec7fc55342c Mon Sep 17 00:00:00 2001 From: Gary Date: Thu, 8 Feb 2024 00:20:49 +0800 Subject: [PATCH] 1.fix delete issue --- .../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 cecdf5b..778f9b1 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 @@ -414,7 +414,7 @@ public class CMSJournalService { List updateSongs = param.getSongs(); if (!CollectionUtils.isEmpty(updateSongs)) { // 清理当前journalSong - journalSongDao.deleteByJournalNo(journalId); + journalSongDao.deleteByJournalNo(journalNo); List songList = songDao.orderByField(updateSongs); List updatedJournalSong = new ArrayList<>(); for (int i = 1; i < songList.size(); i++) {