mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-12 20:36:50 +08:00
案例萃取,bug
This commit is contained in:
@@ -513,15 +513,16 @@ public class CasesServiceImpl implements ICasesService {
|
|||||||
|
|
||||||
List<String> authorTags = new ArrayList<>();
|
List<String> authorTags = new ArrayList<>();
|
||||||
|
|
||||||
|
if (excellentCountMap.get(e.getAuthorId())!=null){
|
||||||
|
String authorTagOfExcellent = excellentCountMap.get(e.getAuthorId()) + "篇最佳案例";
|
||||||
|
authorTags.add(authorTagOfExcellent);
|
||||||
|
}
|
||||||
|
|
||||||
if (viewTopCountMap.get(e.getAuthorId())!=null){
|
if (viewTopCountMap.get(e.getAuthorId())!=null){
|
||||||
String authorTagOfView = "上榜浏览量TOP榜单" + viewTopCountMap.get(e.getAuthorId()) + "次";
|
String authorTagOfView = "上榜浏览量TOP榜单" + viewTopCountMap.get(e.getAuthorId()) + "次";
|
||||||
authorTags.add(authorTagOfView);
|
authorTags.add(authorTagOfView);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (excellentCountMap.get(e.getAuthorId())!=null){
|
|
||||||
String authorTagOfExcellent = excellentCountMap.get(e.getAuthorId()) + "篇最佳案例";
|
|
||||||
authorTags.add(authorTagOfExcellent);
|
|
||||||
}
|
|
||||||
e.setAuthorTags(authorTags);
|
e.setAuthorTags(authorTags);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user