Пример #1
0
 public string GetCustomerInfo(HttpContextBase context)
 {
     try
     {
         string          rtn          = "";
         string          strCertno    = context.Request["certno"];
         string          appno        = context.Request["appno"] == null ? "" : context.Request["appno"];
         string          strDzcarloan = context.Request["dzcarloan"];
         WorkPcmFunction pcm          = new WorkPcmFunction();
         rtn = pcm.IsExistHKNLInfo(appno, strCertno);
         if (rtn == "")
         {
             rtn = pcm.GetCustomerInfo(strCertno, strDzcarloan);
         }
         return(rtn);
     }
     catch (Exception ex)
     {
         CommonFunction.AddLog("PCM_LOG", DateTime.Now.ToString("yyyyMMdd"), ex.ToString());
         return("");
     }
 }