mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-08 02:16:49 +08:00
在线课时长添加
This commit is contained in:
@@ -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()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user