public virtual void UpdatePackageFAQ(SMC_PackageFAQ packageFAQ)
        {
            packageFAQDao.Update(packageFAQ);
            Service.ApplicationCenterWS.WebService ws = new Service.ApplicationCenterWS.WebService();
            Service.ApplicationCenterWS.SMC_PackageFAQ faq = new Service.ApplicationCenterWS.SMC_PackageFAQ();
            faq.pe_id = packageFAQ.pe_id;
            faq.pf_answer = packageFAQ.pf_answer;
            faq.pf_askdate = packageFAQ.pf_askdate;
            faq.pf_askemail = packageFAQ.pf_askemail;
            faq.pf_askmobile = packageFAQ.pf_askmobile;
            faq.pf_id = packageFAQ.pf_id;
            faq.pf_need_syncto_inside = packageFAQ.pf_need_syncto_inside;
            faq.pf_need_syncto_outside = packageFAQ.pf_need_syncto_outside;
            faq.pf_peplyman = packageFAQ.pf_peplyman;
            faq.pf_question = packageFAQ.pf_question;
            faq.pf_uid = packageFAQ.pf_uid;
            faq.pf_uname = packageFAQ.pf_uname;
            //同步问题反馈回复至外网

            ws.PackageFAQSync(faq);
        }
        public ActionResult PackageFAQList(string id)
        {
            //string TableName = Request.QueryString["TableName"];
            //ViewData["TableName"] = TableName;
            //ViewData["id"] = BoFactory.GetVersionTrackBo.GetPeId(id, TableName);
            Service.ApplicationCenterWS.WebService ws = new Service.ApplicationCenterWS.WebService();
            Service.ApplicationCenterWS.SMC_PackageFAQ[] faqs = ws.GetNeedSyncToInsideFAQ();
            if (faqs != null && faqs.Length > 0)
            {
                for (int i = 0; i < faqs.Length; ++i)
                {
                    SMC_PackageFAQ faq = new SMC_PackageFAQ();
                    faq.pe_id = faqs[i].pe_id;
                    faq.pf_answer = faqs[i].pf_answer;
                    faq.pf_askdate = faqs[i].pf_askdate;
                    faq.pf_askemail = faqs[i].pf_askemail;
                    faq.pf_askmobile = faqs[i].pf_askmobile;
                    faq.pf_id = faqs[i].pf_id;
                    faq.pf_need_syncto_inside = false;
                    faq.pf_need_syncto_outside = false;
                    faq.pf_peplyman = faqs[i].pf_peplyman;
                    faq.pf_question = faqs[i].pf_question;
                    faq.pf_uid = faqs[i].pf_uid;
                    faq.pf_uname = faqs[i].pf_uname;

                    List<KeyValuePair<string, object>> pars = new List<KeyValuePair<string, object>>();
                    pars.Add(new KeyValuePair<string, object>("pf_id", faq.pf_id));
                    SMC_PackageFAQ _faq = BoFactory.GetSMC_PackageFAQBO.Get(pars);
                    if (_faq == null)
                    {
                        BoFactory.GetSMC_PackageFAQBO.Insert(faq);
                    }
                    if (faqs[i].pf_need_syncto_inside)
                    {
                        faqs[i].pf_need_syncto_inside = false;
                        ws.PackageFAQSync(faqs[i]);
                    }
                }
            }
            ViewData["id"] = id;
            return View();
        }