Search in sources :

Example 1 with ServiceHallMapper

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

the class ServiceHallServiceImpl method selectByExample.

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

Example 2 with ServiceHallMapper

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

the class ServiceHallServiceImpl method deleteByPrimaryKey.

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

Example 3 with ServiceHallMapper

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

the class ServiceHallServiceImpl method updateByPrimaryKeySelective.

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

Example 4 with ServiceHallMapper

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

the class ServiceHallServiceImpl method deleteByExample.

public void deleteByExample(ServiceHallExample example) {
    ServiceHallMapper mapper = sqlSession.getMapper(ServiceHallMapper.class);
    mapper.deleteByExample(example);
}
Also used : ServiceHallMapper(com.itrus.portal.db.ServiceHallMapper)

Example 5 with ServiceHallMapper

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

the class ServiceHallServiceImpl method insert.

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

Aggregations

ServiceHallMapper (com.itrus.portal.db.ServiceHallMapper)7 ServiceHall (com.itrus.portal.db.ServiceHall)2