在线课时长添加

This commit is contained in:
zhaolongfei
2024-07-04 14:52:29 +08:00
parent ac552d5452
commit 7287c6d7b8

View File

@@ -56,7 +56,7 @@ public class CourseContentServiceImpl implements ICourseContentService {
//新增的情况
cc.setDeleted(false);
if (cc.getDuration()==null){
cc.setDuration(exam.getTestDuration());
cc.setDuration(exam.getTestDuration()*60);
}
//如果是没有目录的,并具是课程内容
if(dto.getType()!=null && dto.getType()==10) {