@Override
 public void init(Context context) {
   super.init(context);
   if (null == mDS) {
     mDS = new SQLiteDataSource(context);
     if (!mDS.isOpen()) mDS.open();
   }
 }
  @Transactional
  public void removeById(java.lang.Long id) {
    CmsUserEmail cmsUserEmail = this.getById(id);
    if (cmsUserEmail != null) {
      Map map = new HashMap();
      map.put("object", cmsUserEmail);
      String json = Utils.toJson(map);
      CmsDeleteBackup cmsDeleteBackup = new CmsDeleteBackup();
      cmsDeleteBackup.setTableName("CmsUserEmail");
      cmsDeleteBackup.setContent(json);
      cmsDeleteBackup.setCreatetimelong(System.currentTimeMillis());
      cmsDeleteBackup.setModifytimelong(0L);
      cmsDeleteBackup.setStatus(0);
      this.cmsDeleteBackupDao.save(cmsDeleteBackup);
    }

    super.removeById(id);
  }
 /** 插入数据 */
 @Transactional
 public void save(CmsUserEmail entity) {
   super.save(entity);
 }
 /** 更新数据 */
 @Transactional
 public void update(CmsUserEmail entity) {
   super.update(entity);
 }