/**
   * 根据ID获取对象
   *
   * @param entity
   * @param id
   * @return
   * @throws com.prj.common.ServiceException
   */
  public Object get(final Class entity, final Serializable id) {

    return basicDao.get(entity, id);
  }
  /**
   * 删除记录
   *
   * @param entity
   * @param id
   * @throws com.prj.common.ServiceException
   */
  @Transactional
  public void delete(final Class entity, final Serializable id) {

    Object obj = basicDao.get(entity, id);
    basicDao.delete(obj);
  }