mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-06 09:26:48 +08:00
在线管理资源完成情况修改,添加日志
This commit is contained in:
@@ -100,6 +100,21 @@ public class CourseContent extends BaseEntity {
|
||||
this.contentType=contentType;
|
||||
this.contentRefId=contentRefId;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "CourseContent{" +
|
||||
"rid='" + rid + '\'' +
|
||||
", typeId='" + typeId + '\'' +
|
||||
", courseId='" + courseId + '\'' +
|
||||
", csectionId='" + csectionId + '\'' +
|
||||
", sortIndex=" + sortIndex +
|
||||
", contentType=" + contentType +
|
||||
", contentName='" + contentName + '\'' +
|
||||
", contentRefId='" + contentRefId + '\'' +
|
||||
", content='" + content + '\'' +
|
||||
", duration=" + duration +
|
||||
", status=" + status +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,8 +79,8 @@ public class StudySignupServiceImpl implements IStudySignupService{
|
||||
signupDao.save(signup);
|
||||
//添加到课程学习
|
||||
LocalDateTime now=LocalDateTime.now();
|
||||
String sql="SELECT c.id,c.content_name,c.course_id from boe_course_content c " +
|
||||
"where c.course_id = '"+signup.getCourseId()+"'";
|
||||
String sql="SELECT * from boe_course_content " +
|
||||
"where course_id = '"+signup.getCourseId()+"'";
|
||||
List<CourseContent> courseContents = contentDao.sqlFindList(sql);
|
||||
StudyCourse sc=new StudyCourse();
|
||||
StudyCourseItem scitem =new StudyCourseItem();
|
||||
|
||||
Reference in New Issue
Block a user