在线管理资源完成情况修改,添加日志

This commit is contained in:
zhaolongfei
2024-07-17 16:24:22 +08:00
parent 2822021f30
commit 34db08d1a8

View File

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