/** 修改广告来源信息 */
  public void modifyADSouce() {

    LEDAdSourceDB tLEDAdSourceDB = new LEDAdSourceDB();
    tLEDAdSourceDB.setProductCode(this.getProductCode());
    tLEDAdSourceDB.setSiteCode(this.getSiteCode());
    if (!tLEDAdSourceDB.getInfo()) {
      operateResult = "Fail|修改失败,数据库中没有此广告来源信息";
      return;
    }
    LEDAdSourceSchema tLEDAdSourceSchema = new LEDAdSourceSchema();
    tLEDAdSourceSchema.setSchema(tLEDAdSourceDB.getSchema());
    tLEDAdSourceSchema.setPayMode(this.getPayMode());
    tLEDAdSourceSchema.setContent(this.getContent());

    MMap map = new MMap();
    map.put(tLEDAdSourceSchema, "UPDATE");

    PubSubmit tPubSubmit = new PubSubmit();
    VData cVData = new VData();
    cVData.add(map);
    if (!tPubSubmit.submitData(cVData, "")) {
      operateResult = "Fail|修改操作失败";
      return;
    } else {
      operateResult = "Succ|修改成功";
      initData();
      return;
    }
  }
  /** 点击修改信息链接时,初始显示ADSouce信息 */
  public void modifyADInfoInit() {
    String tproductCode = this.getProductCode();
    String tsiteCode = this.getSiteCode();
    if (tproductCode == null
        || tsiteCode == null
        || "".equals(tproductCode)
        || "".equals(tsiteCode)) {
      operateResult = "Fail|修改广告来源信息时,发生错误";
      return;
    }
    //		String modySQL = "select 1 from LEDAdSource where ProductCode='" +tproductCode+ "' and
    // SiteCode='" +tsiteCode+ "'";
    //		ExeSQL tExeSQL = new ExeSQL();
    //		String result = tExeSQL.getOneValue(modySQL);
    //		if(!"1".equals(result)) {
    //
    //		}
    LEDAdSourceDB tLEDAdSourceDB = new LEDAdSourceDB();
    tLEDAdSourceDB.setProductCode(tproductCode);
    tLEDAdSourceDB.setSiteCode(tsiteCode);
    if (!tLEDAdSourceDB.getInfo()) {
      operateResult = "Fail|数据库中没有此广告来源信息";
      return;
    }
    operateResult = "Succ";
    operateResult =
        operateResult
            + "|"
            + tLEDAdSourceDB.getSiteName()
            + "|"
            + tLEDAdSourceDB.getSiteCode()
            + "|"
            + tLEDAdSourceDB.getSiteType()
            + "|"
            + tLEDAdSourceDB.getProductCode()
            + "|"
            + tLEDAdSourceDB.getPayMode()
            + "|"
            + tLEDAdSourceDB.getContent();

    System.out.println("operateResult=" + this.operateResult);
    return;
  }