public ActionResult DaYins(string orderId)
        {
            var    url1     = HKSJ.Common.ConfigHelper.GetConfigString("htmlPath") + "/AC_User/SelectDaYin?orderId=" + orderId;// System.Web.HttpContext.Current.Server.MapPath(HKSJ.Common.ConfigHelper.GetConfigString("htmlPath"));
            string fileName = orderId;

            try
            {
                //ObjesToPdf.CreatPdf(url1, orderId); 如果下面的插件打印失败,请放开此方法,并且修改SelectDaYin.cshtml的注释1注释,注释2放开 wuyf 2015-9-23
                ExportFile.HtmlToPdf(fileName, url1);
            }
            catch (Exception ex)
            {
                var opera = string.Format("插件打印出问题开始调用另外打印方法:{0},操作结果:{1}", "打印页面再AC_User,调用在order控制器" + url1, ex.Message);
                LogPackage.InserAC_OperateLog(opera, "打印页面");
                try
                {
                    //调用非插件打印方法
                    ObjesToPdf.CreatPdf(url1, orderId);
                }
                catch (Exception ex1)
                {
                    opera = string.Format("非插件打印出问题:{0},操作结果:{1}", "打印页面再AC_User,调用在order控制器" + url1, ex1.Message);
                    LogPackage.InserAC_OperateLog(opera, "打印页面");
                    string path = System.Web.HttpContext.Current.Server.MapPath(HKSJ.Common.ConfigHelper.GetConfigString("PdfPath")) + "dayin.pdf";
                    return(File(path, "application/pdf", "pdf print download"));
                }
            }
            return(View());
        }