1.fix delete issue

main
Gary 10 months ago
parent c9d913fc61
commit 7678d17655

@ -414,7 +414,7 @@ public class CMSJournalService {
List<String> updateSongs = param.getSongs(); List<String> updateSongs = param.getSongs();
if (!CollectionUtils.isEmpty(updateSongs)) { if (!CollectionUtils.isEmpty(updateSongs)) {
// 清理当前journalSong // 清理当前journalSong
journalSongDao.deleteByJournalNo(journalId); journalSongDao.deleteByJournalNo(journalNo);
List<SongInfo> songList = songDao.orderByField(updateSongs); List<SongInfo> songList = songDao.orderByField(updateSongs);
List<JournalSong> updatedJournalSong = new ArrayList<>(); List<JournalSong> updatedJournalSong = new ArrayList<>();
for (int i = 1; i < songList.size(); i++) { for (int i = 1; i < songList.size(); i++) {

Loading…
Cancel
Save