|
|
|
@ -124,7 +124,6 @@ public class SaticScheduleTask {
|
|
|
|
|
private void updateJouranlTag(Journal journal) {
|
|
|
|
|
List<String> tags = tagDao.getTagNameChByJournalId(journal.getId());
|
|
|
|
|
if (!tags.isEmpty()) {
|
|
|
|
|
cacheChannel.clear("tag");
|
|
|
|
|
String tagStr = tags.stream().distinct().sorted().collect(Collectors.joining(Constants.COMMA));
|
|
|
|
|
if (!tagStr.equals(journal.getNameChTags())) {
|
|
|
|
|
journal.setNameChTags(tagStr);
|
|
|
|
|