public int getCount() {
    LEDEPolicyMailInfoSchema tSchema = this.getSchema();

    int tCount = db.getCount(tSchema);
    if (tCount < 0) {
      // @@错误处理
      this.mErrors.copyAllErrors(db.mErrors);
      CError tError = new CError();
      tError.moduleName = "LEDEPolicyMailInfoDB";
      tError.functionName = "getCount";
      tError.errorMessage = "操作失败!";
      this.mErrors.addOneError(tError);

      return -1;
    }

    return tCount;
  }