1.do not clean tag cache

main
Gary 7 months ago
parent 7cf67658d3
commit 2bae413674

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

Loading…
Cancel
Save