Merge branch 'zcwy0716-llf' into dev0525

This commit is contained in:
nisen
2024-07-23 15:55:40 +08:00

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, course_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();