在线管理资源完成情况修改

This commit is contained in:
zhaolongfei
2024-07-23 16:00:43 +08:00
parent 7eb1dcd7c4
commit 13914ede08

View File

@@ -192,7 +192,7 @@ public class StudyServiceImpl implements IStudyService{
query.addFilter(FieldFilters.ne("status", 9));
List<StudyCourseItem> item = new ArrayList<>();
for (Object[] objs : list) {
String sql2 = "select id, course_id, course_name, aname from boe_study_course_item where `status` !=2 and `status` !=9 and course_id = '" + courseId + "' and content_id = '"+contentId +"'";
String sql2 = "select id, course_id, content_name, aname from boe_study_course_item where `status` !=2 and `status` !=9 and course_id = '" + courseId + "' and content_id = '"+contentId +"'";
List<Object[]> itemList = scItemDao.sqlFindList(sql2);// 执行查询
if (itemList.isEmpty()) {
StudyCourseItem sc = new StudyCourseItem();