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;
}
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);
}
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();
}
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);
}
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;
}
Aggregations