Search in sources :

Example 1 with ExtraBillMapper

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

the class ExtraBillServiceImpl method updateByPrimaryKeySelective.

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

Example 2 with ExtraBillMapper

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

the class ExtraBillServiceImpl method updateByPrimaryKey.

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

Example 3 with ExtraBillMapper

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

the class ExtraBillServiceImpl method selectByPrimaryKey.

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

Example 4 with ExtraBillMapper

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

the class ExtraBillServiceImpl method deleteByPrimaryKey.

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

Example 5 with ExtraBillMapper

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

the class ExtraBillServiceImpl method insert.

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

Aggregations

ExtraBillMapper (com.itrus.portal.db.ExtraBillMapper)7 ExtraBill (com.itrus.portal.db.ExtraBill)2