use of com.itrus.portal.db.ExtraProductMapper in project portal by ixinportal.
the class ExtraProductServiceImpl method countByExample.
public Integer countByExample(ExtraProductExample example) {
ExtraProductMapper mapper = sqlSession.getMapper(ExtraProductMapper.class);
Integer count = mapper.countByExample(example);
return count;
}
use of com.itrus.portal.db.ExtraProductMapper in project portal by ixinportal.
the class ExtraProductServiceImpl method deleteByPrimaryKey.
public void deleteByPrimaryKey(Long id) {
ExtraProductMapper mapper = sqlSession.getMapper(ExtraProductMapper.class);
mapper.deleteByPrimaryKey(id);
}
use of com.itrus.portal.db.ExtraProductMapper in project portal by ixinportal.
the class ExtraProductServiceImpl method updateByPrimaryKey.
public void updateByPrimaryKey(ExtraProduct extraProduct) throws Exception {
ExtraProductMapper mapper = sqlSession.getMapper(ExtraProductMapper.class);
mapper.updateByPrimaryKey(extraProduct);
sqlSession.flushStatements();
}
use of com.itrus.portal.db.ExtraProductMapper in project portal by ixinportal.
the class ExtraProductServiceImpl method selectByExample.
public List<ExtraProduct> selectByExample(ExtraProductExample example) throws Exception {
ExtraProductMapper mapper = sqlSession.getMapper(ExtraProductMapper.class);
List<ExtraProduct> list = mapper.selectByExample(example);
return list;
}
use of com.itrus.portal.db.ExtraProductMapper in project portal by ixinportal.
the class ExtraProductServiceImpl method updateByPrimaryKeySelective.
public void updateByPrimaryKeySelective(ExtraProduct extraProduct) throws Exception {
ExtraProductMapper mapper = sqlSession.getMapper(ExtraProductMapper.class);
mapper.updateByPrimaryKeySelective(extraProduct);
sqlSession.flushStatements();
}
Aggregations