Merge branch 'zcwy0716-llf' into dev0525

This commit is contained in:
nisen
2024-07-17 13:51:51 +08:00

View File

@@ -79,9 +79,8 @@ public class StudySignupServiceImpl implements IStudySignupService{
signupDao.save(signup);
//添加到课程学习
LocalDateTime now=LocalDateTime.now();
String sql="SELECT c.id,c.content,c.contentName,c.contentRefId,c.contentType,c.courseId," +
"c.csectionId,c.duration,c.rid,c.sortIndex,c.status,c.typeId from boe_course_content c " +
"where c.courseId = '"+signup.getCourseId()+"'";
String sql="SELECT c.id,,c.content_name,,c.course_id from boe_course_content c " +
"where c.course_id = '"+signup.getCourseId()+"'";
List<CourseContent> courseContents = contentDao.sqlFindList(sql);
StudyCourse sc=new StudyCourse();
StudyCourseItem scitem =new StudyCourseItem();