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