Commit ceb92cae by wangming

banner

1 parent d8d793ad
......@@ -46,7 +46,7 @@ public class CourseServiceImpl implements CourseService {
@Override
public void updateCourse(TKzyCourse course, String classIds) {
courseMapper.updateByPrimaryKeySelective(course);
courseMapper.updateByPrimaryKeyWithBLOBs(course);
TKzyRelationClassExample example = new TKzyRelationClassExample();
example.createCriteria().andRelationIdEqualTo(course.getId()).andTypeEqualTo(1);
relationClassMapper.deleteByExample(example);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!