在线课时长添加

This commit is contained in:
zhaolongfei
2024-07-04 15:11:23 +08:00
parent 7287c6d7b8
commit cdccb6f0ef

View File

@@ -67,6 +67,9 @@ public class CourseContentServiceImpl implements ICourseContentService {
}
ccDao.save(cc);
}else {
if (cc.getDuration()!=null) {
cc.setDuration(cc.getDuration() * 60);
}
ccDao.update(cc);
cc.setSysVersion(ccDao.getVersion(cc.getId()));
}