Search in sources :

Example 1 with ExtraProductReleaseMapper

use of com.itrus.portal.db.ExtraProductReleaseMapper in project portal by ixinportal.

the class ExtraProductReleaseServiceImpl method selectByPrimaryKey.

public ExtraProductRelease selectByPrimaryKey(Long id) {
    ExtraProductReleaseMapper mapper = sqlSession.getMapper(ExtraProductReleaseMapper.class);
    ExtraProductRelease extraProductRelease = mapper.selectByPrimaryKey(id);
    return extraProductRelease;
}
Also used : ExtraProductReleaseMapper(com.itrus.portal.db.ExtraProductReleaseMapper) ExtraProductRelease(com.itrus.portal.db.ExtraProductRelease)

Example 2 with ExtraProductReleaseMapper

use of com.itrus.portal.db.ExtraProductReleaseMapper in project portal by ixinportal.

the class ExtraProductReleaseServiceImpl method updateByPrimaryKey.

public void updateByPrimaryKey(ExtraProductRelease extraProductRelease) throws Exception {
    ExtraProductReleaseMapper mapper = sqlSession.getMapper(ExtraProductReleaseMapper.class);
    mapper.updateByPrimaryKey(extraProductRelease);
    sqlSession.flushStatements();
}
Also used : ExtraProductReleaseMapper(com.itrus.portal.db.ExtraProductReleaseMapper)

Example 3 with ExtraProductReleaseMapper

use of com.itrus.portal.db.ExtraProductReleaseMapper in project portal by ixinportal.

the class ExtraProductReleaseServiceImpl method deleteByPrimaryKey.

public void deleteByPrimaryKey(Long id) {
    ExtraProductReleaseMapper mapper = sqlSession.getMapper(ExtraProductReleaseMapper.class);
    mapper.deleteByPrimaryKey(id);
}
Also used : ExtraProductReleaseMapper(com.itrus.portal.db.ExtraProductReleaseMapper)

Example 4 with ExtraProductReleaseMapper

use of com.itrus.portal.db.ExtraProductReleaseMapper in project portal by ixinportal.

the class ExtraProductReleaseServiceImpl method updateByPrimaryKeySelective.

public void updateByPrimaryKeySelective(ExtraProductRelease extraProductRelease) throws Exception {
    ExtraProductReleaseMapper mapper = sqlSession.getMapper(ExtraProductReleaseMapper.class);
    mapper.updateByPrimaryKeySelective(extraProductRelease);
    sqlSession.flushStatements();
}
Also used : ExtraProductReleaseMapper(com.itrus.portal.db.ExtraProductReleaseMapper)

Example 5 with ExtraProductReleaseMapper

use of com.itrus.portal.db.ExtraProductReleaseMapper in project portal by ixinportal.

the class ExtraProductReleaseServiceImpl method countByExample.

public Integer countByExample(ExtraProductReleaseExample example) {
    ExtraProductReleaseMapper mapper = sqlSession.getMapper(ExtraProductReleaseMapper.class);
    Integer count = mapper.countByExample(example);
    return count;
}
Also used : ExtraProductReleaseMapper(com.itrus.portal.db.ExtraProductReleaseMapper)

Aggregations

ExtraProductReleaseMapper (com.itrus.portal.db.ExtraProductReleaseMapper)7 ExtraProductRelease (com.itrus.portal.db.ExtraProductRelease)2