mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-13 04:46:50 +08:00
在线管理资源完成情况修改,添加日志
This commit is contained in:
@@ -101,5 +101,20 @@ public class CourseContent extends BaseEntity {
|
|||||||
this.contentRefId=contentRefId;
|
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);
|
signupDao.save(signup);
|
||||||
//添加到课程学习
|
//添加到课程学习
|
||||||
LocalDateTime now=LocalDateTime.now();
|
LocalDateTime now=LocalDateTime.now();
|
||||||
String sql="SELECT c.id,c.content_name,c.course_id from boe_course_content c " +
|
String sql="SELECT * from boe_course_content " +
|
||||||
"where c.course_id = '"+signup.getCourseId()+"'";
|
"where course_id = '"+signup.getCourseId()+"'";
|
||||||
List<CourseContent> courseContents = contentDao.sqlFindList(sql);
|
List<CourseContent> courseContents = contentDao.sqlFindList(sql);
|
||||||
StudyCourse sc=new StudyCourse();
|
StudyCourse sc=new StudyCourse();
|
||||||
StudyCourseItem scitem =new StudyCourseItem();
|
StudyCourseItem scitem =new StudyCourseItem();
|
||||||
|
|||||||
Reference in New Issue
Block a user