mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-13 21:06:48 +08:00
课程搜索时显示的学习人数,修改为使用数据库字段,不使用ES字段值
This commit is contained in:
@@ -252,6 +252,7 @@ public class CourseFullTextApi extends ApiBaseController{
|
|||||||
for(Course c2 : clist) {
|
for(Course c2 : clist) {
|
||||||
if(c2.getId().equals(c.getId())) {
|
if(c2.getId().equals(c.getId())) {
|
||||||
c.setScore(c2.getScore());
|
c.setScore(c2.getScore());
|
||||||
|
c.setStudies(c2.getStudys());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user