Commit 39cb43a7 by wangming

Merge branch 'wangming' into '105'

banner

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