// 重点关注的剧集取出全部剧集链接
  private static AuditEpisodeLogBo.SiteEpisodeLog processConcernProgramme(int psId, int siteId)
      throws Exception {

    Criteria peCrit = new Criteria();
    peCrit.add(ProgrammeEpisodePeer.FK_PROGRAMME_SITE_ID, psId);
    List<ProgrammeEpisode> peList = ProgrammeEpisodePeer.doSelect(peCrit);
    List<EpisodeLog> logList = new ArrayList<EpisodeLog>();
    log.info("peList size" + peList.size());
    if (peList != null && !peList.isEmpty()) {
      for (ProgrammeEpisode pe : peList) {
        EpisodeLog el = new EpisodeLog();
        el.setTitle(pe.getTitle());
        el.setHd(pe.getHd());
        el.setOrderId(pe.getOrderId());
        el.setUrl(pe.getUrl());
        el.setSeconds(pe.getSeconds());
        el.setId(-1);
        logList.add(el);
      }
    }

    AuditEpisodeLogBo.SiteEpisodeLog siteLog = new AuditEpisodeLogBo.SiteEpisodeLog();
    siteLog.setSiteId(siteId);
    siteLog.setSiteName(SiteService.getSiteName(siteId));
    log.info("siteName" + siteLog.getSiteName());
    siteLog.setEpisodeLogList(logList);

    return siteLog;
  }
  private static AuditEpisodeLogBo.SiteEpisodeLog getSiteEpisodeLog(int psId, int siteId)
      throws Exception {
    Criteria logCrit = new Criteria();
    logCrit.add(EpisodeLogPeer.FK_PROGRAMME_SITE_ID, psId);
    logCrit.add(EpisodeLogPeer.STATUS, Constants.EPISODE_LOG_NOTHANDLED);
    logCrit.add(EpisodeLogPeer.SOURCE, (Object) "", Criteria.NOT_EQUAL);
    // logCrit.add(EpisodeLogPeer.OPERATOR, (Object) "Spider", Criteria.NOT_EQUAL);
    // log.info(logCrit);
    List<EpisodeLog> logList = EpisodeLogPeer.doSelect(logCrit);
    AuditEpisodeLogBo.SiteEpisodeLog siteLog = new AuditEpisodeLogBo.SiteEpisodeLog();
    siteLog.setSiteId(siteId);
    siteLog.setSiteName(SiteService.getSiteName(siteId));
    // log.info("siteName" + siteLog.getSiteName());

    List<EpisodeLog> noSpiderLogList = new ArrayList<EpisodeLog>();
    for (EpisodeLog l : logList) {
      if (StringUtils.isBlank(l.getOperator())) {
        noSpiderLogList.add(l);
      }
    }

    siteLog.setEpisodeLogList(noSpiderLogList);

    return siteLog;
  }
  private static AuditEpisodeLogBo.SiteEpisodeLog getHasEpisodeSite(int psId, int siteId)
      throws Exception {
    Criteria peCrit = new Criteria();
    peCrit.add(ProgrammeEpisodePeer.FK_PROGRAMME_SITE_ID, psId);
    List<ProgrammeEpisode> peList = ProgrammeEpisodePeer.doSelect(peCrit);
    if (peList != null && !peList.isEmpty()) {
      AuditEpisodeLogBo.SiteEpisodeLog siteLog = new AuditEpisodeLogBo.SiteEpisodeLog();
      siteLog.setSiteId(psId);
      siteLog.setSiteName(SiteService.getSiteName(siteId));
      return siteLog;
    }

    return null;
  }