mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-12 04:16:51 +08:00
调试修复课程状态
This commit is contained in:
@@ -70,17 +70,17 @@ public class StudyCourseDao extends BaseDao<StudyCourse> {
|
|||||||
if(n>=total) {
|
if(n>=total) {
|
||||||
log.info(" 100进度 CourseId = " + courseId + " , StudyId = " + studyId + " , total = " + total + ",已完成 = " + n);
|
log.info(" 100进度 CourseId = " + courseId + " , StudyId = " + studyId + " , total = " + total + ",已完成 = " + n);
|
||||||
//自主报名的课程,代表学习完成
|
//自主报名的课程,代表学习完成
|
||||||
// super.updateMultiFieldById(studyId,
|
super.updateMultiFieldById(studyId,
|
||||||
// UpdateBuilder.create("progress",100f),
|
UpdateBuilder.create("progress",100f),
|
||||||
// UpdateBuilder.create("lastTime",now),
|
UpdateBuilder.create("lastTime",now),
|
||||||
// UpdateBuilder.create("finishTime",now),
|
UpdateBuilder.create("finishTime",now),
|
||||||
// UpdateBuilder.create("status",StudyCourse.STATUS_FINISH));
|
UpdateBuilder.create("status",StudyCourse.STATUS_FINISH));
|
||||||
}else {
|
}else {
|
||||||
log.info("进度=" + percent + " ,CourseId = " + courseId + " , StudyId = " + studyId + " , total = " + total + ",已完成 = " + n);
|
log.info("进度=" + percent + " ,CourseId = " + courseId + " , StudyId = " + studyId + " , total = " + total + ",已完成 = " + n);
|
||||||
// super.updateMultiFieldById(studyId,
|
super.updateMultiFieldById(studyId,
|
||||||
// UpdateBuilder.create("progress",percent),
|
UpdateBuilder.create("progress",percent),
|
||||||
// UpdateBuilder.create("lastTime",LocalDateTime.now()),
|
UpdateBuilder.create("lastTime",LocalDateTime.now()),
|
||||||
// UpdateBuilder.create("status",StudyCourse.STATUS_STUDYING));
|
UpdateBuilder.create("status",StudyCourse.STATUS_STUDYING));
|
||||||
}
|
}
|
||||||
|
|
||||||
}else {
|
}else {
|
||||||
|
|||||||
Reference in New Issue
Block a user