Commit 238110ae authored by liuyang's avatar liuyang

fixed bug

parent 66554285
......@@ -390,7 +390,7 @@ public class CourseService extends ServiceImpl<CourseMapper, CoursePO> {
po.setModel(CourseModelEnum.VOD);
po.setSeriesId(model.getSeriesId());
po.setAllow(model.getAllow());
save(po);
saveOrUpdate(po);
return po.getId();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment