中间表增加字段

main
JH 9 months ago
parent 98b9d39c03
commit b7198dd414

@ -57,4 +57,9 @@ public class JournalSong implements Serializable{
* *
*/ */
private String lyricUrl; private String lyricUrl;
/**
* _ID
*/
private String journalNoSongId;
} }

@ -305,6 +305,8 @@ public class CMSJournalService {
} else { } else {
journalSong.setLyricUrl(song.getLyricUrl()); journalSong.setLyricUrl(song.getLyricUrl());
} }
String journalNoSongId = String.format("%s%s/%s", param.getJournalNo(), Constants.UNDERSCORE, item);
journalSong.setJournalNoSongId(journalNoSongId);
journalSongList.add(journalSong); journalSongList.add(journalSong);
} }
} }

@ -33,4 +33,6 @@ public class Constants {
public static final String DOT = "."; public static final String DOT = ".";
public static final String COMMA = ","; public static final String COMMA = ",";
// _ 下划线
public static final String UNDERSCORE = "_";
} }

Loading…
Cancel
Save