Merge branch 'zcwy0716-llf' into dev0525

This commit is contained in:
nisen
2024-07-17 16:25:29 +08:00

View File

@@ -101,9 +101,9 @@ public class StudySignupServiceImpl implements IStudySignupService{
sc.setTotalDuration(0); sc.setTotalDuration(0);
List<CourseContent> courseContents = contentDao.sqlFindList("SELECT * from boe_course_content where course_id = "+ signup.getCourseId()); List<CourseContent> courseContents = contentDao.sqlFindList("SELECT * from boe_course_content where course_id = "+ signup.getCourseId());
if (!courseContents.isEmpty()) { if (!courseContents.isEmpty()) {
log.info("查看在线课集合内容数据(共 {} 条记录)", courseContents.size()); log.info("查看在线课集合内容数据(共 {} 条记录)", courseContents.toString());
for (CourseContent c : courseContents) { for (CourseContent c : courseContents) {
log.info("查看在线课内容数据: {}", c.toString()); log.info("查看在线课内容数据: {}", c);
// 使用toString()或自定义格式化字符串 // 使用toString()或自定义格式化字符串
StudyCourseItem scitem = new StudyCourseItem(); StudyCourseItem scitem = new StudyCourseItem();
// 设置scitem的属性 // 设置scitem的属性