Search in sources :

Example 1 with ExtraProductSpecMapper

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

the class ExtraProductSpecServiceImpl method selectByExample.

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

Example 2 with ExtraProductSpecMapper

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

the class ExtraProductSpecServiceImpl method updateByPrimaryKeySelective.

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

Example 3 with ExtraProductSpecMapper

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

the class ExtraProductSpecServiceImpl method updateByPrimaryKey.

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

Example 4 with ExtraProductSpecMapper

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

the class ExtraProductSpecServiceImpl method selectByPrimaryKey.

public ExtraProductSpec selectByPrimaryKey(Long id) {
    ExtraProductSpecMapper mapper = sqlSession.getMapper(ExtraProductSpecMapper.class);
    ExtraProductSpec extraProductSpec = mapper.selectByPrimaryKey(id);
    return extraProductSpec;
}
Also used : ExtraProductSpec(com.itrus.portal.db.ExtraProductSpec) ExtraProductSpecMapper(com.itrus.portal.db.ExtraProductSpecMapper)

Example 5 with ExtraProductSpecMapper

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

the class ExtraProductSpecServiceImpl method deleteByPrimaryKey.

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

Aggregations

ExtraProductSpecMapper (com.itrus.portal.db.ExtraProductSpecMapper)6 ExtraProductSpec (com.itrus.portal.db.ExtraProductSpec)2