案例萃取,最佳时间

This commit is contained in:
yang
2024-09-14 13:25:02 +08:00
parent c2de2a433b
commit e04735ee44

View File

@@ -509,7 +509,11 @@ public class CasesServiceImpl implements ICasesService {
// 拼接生成年度最佳标签 // 拼接生成年度最佳标签
if (e.getExcellent()!=null && e.getExcellent()) { if (e.getExcellent()!=null && e.getExcellent()) {
e.setExcellentTag(e.getExcellentTime().format(DateTimeFormatter.ofPattern("yy年"))+"度最佳"); if (e.getDraftingTime()!=null){
e.setExcellentTag(e.getDraftingTime().format(DateTimeFormatter.ofPattern("yy年"))+"度最佳");
} else {
e.setExcellentTag(e.getSysCreateTime().format(DateTimeFormatter.ofPattern("yy年"))+"度最佳");
}
} }
List<String> authorTags = new ArrayList<>(); List<String> authorTags = new ArrayList<>();