Commit e46536eb by wangming

Merge branch 'wangming' into '105'

banner

See merge request !14
2 parents 3bfebe7d 7892f4ea
...@@ -45,7 +45,7 @@ public class InformationServiceImpl implements InformationService { ...@@ -45,7 +45,7 @@ public class InformationServiceImpl implements InformationService {
@Override @Override
public void updateInformation(TKzyInformation information, String classIds) { public void updateInformation(TKzyInformation information, String classIds) {
informationMapper.updateByPrimaryKeyWithBLOBs(information); informationMapper.updateByPrimaryKeySelective(information);
TKzyRelationClassExample example = new TKzyRelationClassExample(); TKzyRelationClassExample example = new TKzyRelationClassExample();
example.createCriteria().andRelationIdEqualTo(information.getId()).andTypeEqualTo(2); example.createCriteria().andRelationIdEqualTo(information.getId()).andTypeEqualTo(2);
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!