From d514450f237da7280cbadc53efa3defca68799d3 Mon Sep 17 00:00:00 2001 From: zhaolongfei <2651195677@qq.com> Date: Wed, 17 Jul 2024 13:49:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E7=BA=BF=E7=AE=A1=E7=90=86=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E5=AE=8C=E6=88=90=E6=83=85=E5=86=B5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../school/study/service/impl/StudySignupServiceImpl.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/servers/boe-server-all/src/main/java/com/xboe/school/study/service/impl/StudySignupServiceImpl.java b/servers/boe-server-all/src/main/java/com/xboe/school/study/service/impl/StudySignupServiceImpl.java index c559761e..9288ca4c 100644 --- a/servers/boe-server-all/src/main/java/com/xboe/school/study/service/impl/StudySignupServiceImpl.java +++ b/servers/boe-server-all/src/main/java/com/xboe/school/study/service/impl/StudySignupServiceImpl.java @@ -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 courseContents = contentDao.sqlFindList(sql); StudyCourse sc=new StudyCourse(); StudyCourseItem scitem =new StudyCourseItem();