Search in sources :

Example 6 with ExtraProductReleaseMapper

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

the class ExtraProductReleaseServiceImpl method insert.

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

Example 7 with ExtraProductReleaseMapper

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

the class ExtraProductReleaseServiceImpl method selectByExample.

public List<ExtraProductRelease> selectByExample(ExtraProductReleaseExample example) throws Exception {
    ExtraProductReleaseMapper mapper = sqlSession.getMapper(ExtraProductReleaseMapper.class);
    List<ExtraProductRelease> list = mapper.selectByExample(example);
    return list;
}
Also used : ExtraProductReleaseMapper(com.itrus.portal.db.ExtraProductReleaseMapper) ExtraProductRelease(com.itrus.portal.db.ExtraProductRelease)

Aggregations

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