/**
  * 数据打包,按 XML 格式打包,顺序参见<A href ={@docRoot}/dataStructure/tb.html#PrpLEPRiskDuty描述/A>表字段
  *
  * @return: String 返回打包后字符串
  */
 public String encode() {
   StringBuffer strReturn = new StringBuffer(256);
   strReturn.append(StrTool.cTrim(riskCode));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(riskVer));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(dutyCode));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(choFlag));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(specFlag));
   return strReturn.toString();
 }
 /**
  * 数据打包,按 XML 格式打包,顺序参见<A href ={@docRoot}/dataStructure/tb.html#PrpLEPCalMode描述/A>表字段
  *
  * @return: String 返回打包后字符串
  */
 public String encode() {
   StringBuffer strReturn = new StringBuffer(256);
   strReturn.append(StrTool.cTrim(calCode));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(riskCode));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(type));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(calSQL));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(remark));
   return strReturn.toString();
 }
  /**
   * 设置对应传入参数的String形式的字段值
   *
   * @param: FCode String 需要赋值的对象
   * @param: FValue String 要赋的值
   * @return: boolean
   */
  public boolean setV(String FCode, String FValue) {
    if (StrTool.cTrim(FCode).equals("")) return false;

    if (FCode.equalsIgnoreCase("riskCode")) {
      if (FValue != null && !FValue.equals("")) {
        riskCode = FValue.trim();
      } else riskCode = null;
    }
    if (FCode.equalsIgnoreCase("riskVer")) {
      if (FValue != null && !FValue.equals("")) {
        riskVer = FValue.trim();
      } else riskVer = null;
    }
    if (FCode.equalsIgnoreCase("dutyCode")) {
      if (FValue != null && !FValue.equals("")) {
        dutyCode = FValue.trim();
      } else dutyCode = null;
    }
    if (FCode.equalsIgnoreCase("choFlag")) {
      if (FValue != null && !FValue.equals("")) {
        choFlag = FValue.trim();
      } else choFlag = null;
    }
    if (FCode.equalsIgnoreCase("specFlag")) {
      if (FValue != null && !FValue.equals("")) {
        specFlag = FValue.trim();
      } else specFlag = null;
    }
    return true;
  }
  /**
   * 设置对应传入参数的String形式的字段值
   *
   * @param: FCode String 需要赋值的对象
   * @param: FValue String 要赋的值
   * @return: boolean
   */
  public boolean setV(String FCode, String FValue) {
    if (StrTool.cTrim(FCode).equals("")) return false;

    if (FCode.equalsIgnoreCase("calCode")) {
      if (FValue != null && !FValue.equals("")) {
        calCode = FValue.trim();
      } else calCode = null;
    }
    if (FCode.equalsIgnoreCase("riskCode")) {
      if (FValue != null && !FValue.equals("")) {
        riskCode = FValue.trim();
      } else riskCode = null;
    }
    if (FCode.equalsIgnoreCase("type")) {
      if (FValue != null && !FValue.equals("")) {
        type = FValue.trim();
      } else type = null;
    }
    if (FCode.equalsIgnoreCase("calSQL")) {
      if (FValue != null && !FValue.equals("")) {
        calSQL = FValue.trim();
      } else calSQL = null;
    }
    if (FCode.equalsIgnoreCase("remark")) {
      if (FValue != null && !FValue.equals("")) {
        remark = FValue.trim();
      } else remark = null;
    }
    return true;
  }
  /**
   * 设置对应传入参数的String形式的字段值
   *
   * @param: FCode String 需要赋值的对象
   * @param: FValue String 要赋的值
   * @return: boolean
   */
  public boolean setV(String FCode, String FValue) {
    if (StrTool.cTrim(FCode).equals("")) return false;

    if (FCode.equalsIgnoreCase("recommend")) {
      if (FValue != null && !FValue.equals("")) {
        recommend = FValue.trim();
      } else recommend = null;
    }
    if (FCode.equalsIgnoreCase("recommended")) {
      if (FValue != null && !FValue.equals("")) {
        recommended = FValue.trim();
      } else recommended = null;
    }
    if (FCode.equalsIgnoreCase("sendtimes")) {
      if (FValue != null && !FValue.equals("")) {
        Integer tInteger = new Integer(FValue);
        int i = tInteger.intValue();
        sendtimes = i;
      }
    }
    if (FCode.equalsIgnoreCase("success")) {
      if (FValue != null && !FValue.equals("")) {
        success = FValue.trim();
      } else success = null;
    }
    if (FCode.equalsIgnoreCase("registered")) {
      if (FValue != null && !FValue.equals("")) {
        registered = FValue.trim();
      } else registered = null;
    }
    if (FCode.equalsIgnoreCase("field1")) {
      if (FValue != null && !FValue.equals("")) {
        field1 = FValue.trim();
      } else field1 = null;
    }
    if (FCode.equalsIgnoreCase("field2")) {
      if (FValue != null && !FValue.equals("")) {
        field2 = FValue.trim();
      } else field2 = null;
    }
    if (FCode.equalsIgnoreCase("field3")) {
      if (FValue != null && !FValue.equals("")) {
        field3 = FValue.trim();
      } else field3 = null;
    }
    if (FCode.equalsIgnoreCase("makedate")) {
      if (FValue != null && !FValue.equals("")) {
        makedate = FValue.trim();
      } else makedate = null;
    }
    if (FCode.equalsIgnoreCase("maketime")) {
      if (FValue != null && !FValue.equals("")) {
        maketime = FValue.trim();
      } else maketime = null;
    }
    if (FCode.equalsIgnoreCase("modifydate")) {
      if (FValue != null && !FValue.equals("")) {
        modifydate = FValue.trim();
      } else modifydate = null;
    }
    if (FCode.equalsIgnoreCase("modifytime")) {
      if (FValue != null && !FValue.equals("")) {
        modifytime = FValue.trim();
      } else modifytime = null;
    }
    return true;
  }
 /**
  * 数据打包,按 XML 格式打包,顺序参见<A href ={@docRoot}/dataStructure/tb.html#PrpLECRecommendation描述/A>表字段
  *
  * @return: String 返回打包后字符串
  */
 public String encode() {
   StringBuffer strReturn = new StringBuffer(256);
   strReturn.append(StrTool.cTrim(recommend));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(recommended));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(ChgData.chgData(sendtimes));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(success));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(registered));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(field1));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(field2));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(field3));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(makedate));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(maketime));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(modifydate));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(modifytime));
   return strReturn.toString();
 }
  /**
   * 设置对应传入参数的String形式的字段值
   *
   * @param: FCode String 需要赋值的对象
   * @param: FValue String 要赋的值
   * @return: boolean
   */
  public boolean setV(String FCode, String FValue) {
    if (StrTool.cTrim(FCode).equals("")) return false;

    if (FCode.equalsIgnoreCase("tradeNo")) {
      if (FValue != null && !FValue.equals("")) {
        tradeNo = FValue.trim();
      } else tradeNo = null;
    }
    if (FCode.equalsIgnoreCase("contNo")) {
      if (FValue != null && !FValue.equals("")) {
        contNo = FValue.trim();
      } else contNo = null;
    }
    if (FCode.equalsIgnoreCase("userCode")) {
      if (FValue != null && !FValue.equals("")) {
        userCode = FValue.trim();
      } else userCode = null;
    }
    if (FCode.equalsIgnoreCase("name")) {
      if (FValue != null && !FValue.equals("")) {
        name = FValue.trim();
      } else name = null;
    }
    if (FCode.equalsIgnoreCase("gender")) {
      if (FValue != null && !FValue.equals("")) {
        gender = FValue.trim();
      } else gender = null;
    }
    if (FCode.equalsIgnoreCase("birthday")) {
      if (FValue != null && !FValue.equals("")) {
        birthday = fDate.getDate(FValue);
      } else birthday = null;
    }
    if (FCode.equalsIgnoreCase("province")) {
      if (FValue != null && !FValue.equals("")) {
        province = FValue.trim();
      } else province = null;
    }
    if (FCode.equalsIgnoreCase("city")) {
      if (FValue != null && !FValue.equals("")) {
        city = FValue.trim();
      } else city = null;
    }
    if (FCode.equalsIgnoreCase("mobile")) {
      if (FValue != null && !FValue.equals("")) {
        mobile = FValue.trim();
      } else mobile = null;
    }
    if (FCode.equalsIgnoreCase("userIDType")) {
      if (FValue != null && !FValue.equals("")) {
        userIDType = FValue.trim();
      } else userIDType = null;
    }
    if (FCode.equalsIgnoreCase("userIDNo")) {
      if (FValue != null && !FValue.equals("")) {
        userIDNo = FValue.trim();
      } else userIDNo = null;
    }
    if (FCode.equalsIgnoreCase("riskname")) {
      if (FValue != null && !FValue.equals("")) {
        riskname = FValue.trim();
      } else riskname = null;
    }
    if (FCode.equalsIgnoreCase("riskcode")) {
      if (FValue != null && !FValue.equals("")) {
        riskcode = FValue.trim();
      } else riskcode = null;
    }
    if (FCode.equalsIgnoreCase("userState")) {
      if (FValue != null && !FValue.equals("")) {
        userState = FValue.trim();
      } else userState = null;
    }
    if (FCode.equalsIgnoreCase("userSource")) {
      if (FValue != null && !FValue.equals("")) {
        userSource = FValue.trim();
      } else userSource = null;
    }
    if (FCode.equalsIgnoreCase("field1")) {
      if (FValue != null && !FValue.equals("")) {
        field1 = FValue.trim();
      } else field1 = null;
    }
    if (FCode.equalsIgnoreCase("field2")) {
      if (FValue != null && !FValue.equals("")) {
        field2 = FValue.trim();
      } else field2 = null;
    }
    if (FCode.equalsIgnoreCase("field3")) {
      if (FValue != null && !FValue.equals("")) {
        field3 = FValue.trim();
      } else field3 = null;
    }
    if (FCode.equalsIgnoreCase("field4")) {
      if (FValue != null && !FValue.equals("")) {
        field4 = FValue.trim();
      } else field4 = null;
    }
    if (FCode.equalsIgnoreCase("field5")) {
      if (FValue != null && !FValue.equals("")) {
        field5 = FValue.trim();
      } else field5 = null;
    }
    if (FCode.equalsIgnoreCase("field6")) {
      if (FValue != null && !FValue.equals("")) {
        field6 = FValue.trim();
      } else field6 = null;
    }
    if (FCode.equalsIgnoreCase("searchDate")) {
      if (FValue != null && !FValue.equals("")) {
        searchDate = fDate.getDate(FValue);
      } else searchDate = null;
    }
    if (FCode.equalsIgnoreCase("searchTime")) {
      if (FValue != null && !FValue.equals("")) {
        searchTime = FValue.trim();
      } else searchTime = null;
    }
    if (FCode.equalsIgnoreCase("makedate")) {
      if (FValue != null && !FValue.equals("")) {
        makedate = fDate.getDate(FValue);
      } else makedate = null;
    }
    if (FCode.equalsIgnoreCase("maketime")) {
      if (FValue != null && !FValue.equals("")) {
        maketime = FValue.trim();
      } else maketime = null;
    }
    return true;
  }
 /**
  * 数据打包,按 XML 格式打包,顺序参见<A href ={@docRoot}/dataStructure/tb.html#PrpSearchRecord描述/A>表字段
  *
  * @return: String 返回打包后字符串
  */
 public String encode() {
   StringBuffer strReturn = new StringBuffer(256);
   strReturn.append(StrTool.cTrim(tradeNo));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(contNo));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(userCode));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(name));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(gender));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(fDate.getString(birthday)));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(province));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(city));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(mobile));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(userIDType));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(userIDNo));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(riskname));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(riskcode));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(userState));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(userSource));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(field1));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(field2));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(field3));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(field4));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(field5));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(field6));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(fDate.getString(searchDate)));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(searchTime));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(fDate.getString(makedate)));
   strReturn.append(SysConst.PACKAGESPILTER);
   strReturn.append(StrTool.cTrim(maketime));
   return strReturn.toString();
 }