public void ProductDetails() { BaoxianDataBLL baoxianDataBLL = new BaoxianDataBLL(); ProductDetailsReq model = new ProductDetailsReq(); model.transNo = UtilityHelper.CommonHelper.OrderNoOne(); //model.customkey = "bowangjishi"; model.caseCode = "0001077178502139"; var res = baoxianDataBLL.GetProductDetails(model); }
protected void Page_Load(object sender, EventArgs e) { BaoxianDataBLL bll = new BaoxianDataBLL(); if (!Page.IsPostBack) { productId = DNTRequest.GetInt("productId", 0); //caseCode = UtilityHelper.BWJSCommonHelper.SafeString(Request["caseCode"], "0001077178502139"); caseCode = DNTRequest.GetString("caseCode"); if (!string.IsNullOrWhiteSpace(caseCode)) { try { ProductDetailsReq req = new ProductDetailsReq(); transNo = req.transNo = UtilityHelper.CommonHelper.OrderNoOne(); req.caseCode = caseCode; detailModel = bll.GetProductDetails(req); if (detailModel == null) { detailModel = new ProductDetailsResp(); } } catch { } switch (caseCode) { case "0001077178502139": isGotoNoticeInsurance = true; isJBBERestrictGenes = true; //JBBE 有基本保额,首字母 break; case "0001077178602140": isGotoNoticeInsurance = true; isJBBERestrictGenes = true; //JBBE 有基本保额,首字母 break; case "0000052178002133": //“账户保”个人账户资金安全险 isJBBERestrictGenes = true; //JBBE 有基本保额,首字母 break; case "0001076209802609": //一起慧99-百万医疗保险 无门诊计划 isGotoNoticeInsurance = true; isYQHWMZRestrictGenes = true; //YQHWMZ 一起慧无门诊首字母 isJBBERestrictGenes = true; //JBBE 有基本保额,首字母 break; case "0001076211102627": //一起慧99-百万医疗保险 无门诊计划 isGotoNoticeInsurance = true; isYQHWMZRestrictGenes = true; //YQHWMZ 一起慧无门诊首字母 isJBBERestrictGenes = true; //JBBE 有基本保额,首字母 break; case "0001075190802342": //少儿住院宝 isGotoNoticeInsurance = true; break; } } else { Response.Redirect("/Product/Index.aspx?wd=0"); } } }