1.remove unsed code

main
Gary 5 months ago
parent fcd87ca353
commit d37579aa39

@ -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);

Loading…
Cancel
Save