|
|
|
@ -394,7 +394,7 @@ public class CMSSongService {
|
|
|
|
|
s3Service.uploadText(Constants.BUCKET, key, lyric);
|
|
|
|
|
List<JournalSong> bySongId = journalSongDao.findBySongId(id);
|
|
|
|
|
for (JournalSong item : bySongId) {
|
|
|
|
|
String format = String.format("%05d/%02d", item.getJournalNo(), item.getSongNo());
|
|
|
|
|
String format = String.format("%05d/%02d", Integer.parseInt(item.getJournalNo()), item.getSongNo());
|
|
|
|
|
String destLyricSuffix = format + ".lyric";
|
|
|
|
|
String destLyric = Constants.MUSIC_KEY_PREFIX + destLyricSuffix;
|
|
|
|
|
s3Service.copy(Constants.BUCKET, key, destLyric);
|
|
|
|
|