mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-14 05:16:49 +08:00
在线课固定时长问题修改
This commit is contained in:
@@ -71,7 +71,7 @@ public class CourseContentServiceImpl implements ICourseContentService {
|
|||||||
ccDao.save(cc);
|
ccDao.save(cc);
|
||||||
}else {
|
}else {
|
||||||
if (cc.getDuration()!=null) {
|
if (cc.getDuration()!=null) {
|
||||||
cc.setDuration(cc.getDuration() * 60);
|
cc.setDuration(cc.getDuration());
|
||||||
}
|
}
|
||||||
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