mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-11 03:46:50 +08:00
在线管理资源完成情况修改
This commit is contained in:
@@ -189,7 +189,7 @@ public class StudyServiceImpl implements IStudyService{
|
|||||||
query.addFilter(FieldFilters.eq("status",9));
|
query.addFilter(FieldFilters.eq("status",9));
|
||||||
return scItemDao.findPage(query.builder());
|
return scItemDao.findPage(query.builder());
|
||||||
}else if (status == 1) {
|
}else if (status == 1) {
|
||||||
String sql = "select bsc.id,bsc.course_id,bsc.course_name,bsc.aname,0 as progress,1 as status from boe_study_course bsc " +
|
String sql = "select bsc.id,bsc.course_id,bsc.course_name,bsc.aname,item.content_id,0 as progress,1 as status from boe_study_course bsc " +
|
||||||
" left join boe_study_course_item item on bsc.course_id = item.course_id and bsc.id = item.study_id" +
|
" left join boe_study_course_item item on bsc.course_id = item.course_id and bsc.id = item.study_id" +
|
||||||
" where bsc.course_id = '"+courseId+"' and bsc.id not in(" +
|
" where bsc.course_id = '"+courseId+"' and bsc.id not in(" +
|
||||||
" select item.study_id from boe_study_course_item item " +
|
" select item.study_id from boe_study_course_item item " +
|
||||||
|
|||||||
Reference in New Issue
Block a user