mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-11 03:46:50 +08:00
在线课时长添加
This commit is contained in:
@@ -67,6 +67,9 @@ public class CourseContentServiceImpl implements ICourseContentService {
|
|||||||
}
|
}
|
||||||
ccDao.save(cc);
|
ccDao.save(cc);
|
||||||
}else {
|
}else {
|
||||||
|
if (cc.getDuration()!=null) {
|
||||||
|
cc.setDuration(cc.getDuration() * 60);
|
||||||
|
}
|
||||||
ccDao.update(cc);
|
ccDao.update(cc);
|
||||||
cc.setSysVersion(ccDao.getVersion(cc.getId()));
|
cc.setSysVersion(ccDao.getVersion(cc.getId()));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user