|
|
|
@ -55,8 +55,6 @@ public class CMSJournalService {
|
|
|
|
|
private SongInfoDao songDao;
|
|
|
|
|
@Autowired
|
|
|
|
|
private UserClient userClient;
|
|
|
|
|
@Autowired
|
|
|
|
|
private CacheChannel cacheChannel;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 分页 + 条件检索
|
|
|
|
@ -426,8 +424,6 @@ public class CMSJournalService {
|
|
|
|
|
newJournal.setCreateTime(oldJournal.getCreateTime());
|
|
|
|
|
newJournal.setPubTime(oldJournal.getPubTime());
|
|
|
|
|
Journal journal = journalDao.save(newJournal);
|
|
|
|
|
this.cacheChannel.evict(constants.Constants.J2CACHE_REGION_JOURNAL_ID, id);
|
|
|
|
|
this.cacheChannel.evict(constants.Constants.J2CACHE_REGION_JOURNAL_NO,journal.getJournalNo());
|
|
|
|
|
// 删除旧的关联信息,更新的关联信息
|
|
|
|
|
batchDeleteJournalRelatesInfo(id, oldJournal.getJournalNo());
|
|
|
|
|
batchSaveJournalRelatesInfo(id, param);
|
|
|
|
|