use of com.itrus.portal.db.ExtraMessageMapper in project portal by ixinportal.
the class ExtraMessageServiceImpl method updateByPrimaryKey.
public void updateByPrimaryKey(ExtraMessage extraMessage) throws Exception {
ExtraMessageMapper mapper = sqlSession.getMapper(ExtraMessageMapper.class);
mapper.updateByPrimaryKey(extraMessage);
sqlSession.flushStatements();
}
use of com.itrus.portal.db.ExtraMessageMapper in project portal by ixinportal.
the class ExtraMessageServiceImpl method insert.
public ExtraMessage insert(ExtraMessage extraMessage) throws Exception {
ExtraMessageMapper mapper = sqlSession.getMapper(ExtraMessageMapper.class);
mapper.insert(extraMessage);
sqlSession.flushStatements();
return extraMessage;
}
use of com.itrus.portal.db.ExtraMessageMapper in project portal by ixinportal.
the class ExtraMessageServiceImpl method countByExample.
public Integer countByExample(ExtraMessageExample example) {
ExtraMessageMapper mapper = sqlSession.getMapper(ExtraMessageMapper.class);
Integer count = mapper.countByExample(example);
return count;
}
use of com.itrus.portal.db.ExtraMessageMapper in project portal by ixinportal.
the class ExtraMessageServiceImpl method updateByPrimaryKeySelective.
public void updateByPrimaryKeySelective(ExtraMessage extraMessage) throws Exception {
ExtraMessageMapper mapper = sqlSession.getMapper(ExtraMessageMapper.class);
mapper.updateByPrimaryKeySelective(extraMessage);
sqlSession.flushStatements();
}
use of com.itrus.portal.db.ExtraMessageMapper in project portal by ixinportal.
the class ExtraMessageServiceImpl method deleteByPrimaryKey.
public void deleteByPrimaryKey(Long id) {
ExtraMessageMapper mapper = sqlSession.getMapper(ExtraMessageMapper.class);
mapper.deleteByPrimaryKey(id);
}
Aggregations