mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-09 02:46:50 +08:00
首页课程排行榜排序问题
This commit is contained in:
@@ -150,9 +150,9 @@ public class PortalIndexApi extends ApiBaseController{
|
|||||||
}
|
}
|
||||||
if(!courses.isEmpty()){
|
if(!courses.isEmpty()){
|
||||||
for (Course c:courses) {
|
for (Course c:courses) {
|
||||||
for (Course c1:pageList.getList()) {
|
for (Course c1:coursePageList.getList()) {
|
||||||
if(c.getId().equals(c1.getId())){
|
if(c.getId().equals(c1.getId())){
|
||||||
pageList.getList().remove(c1);
|
coursePageList.getList().remove(c1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user