|
|
@@ -59,8 +59,8 @@ namespace PTMedicalInsurance.Business
|
|
|
Global.pat.gend = JsonHelper.getDestValue(jo, "result.patSex");
|
|
|
Global.pat.age = JsonHelper.getDestValue(jo, "result.Age");
|
|
|
Global.pat.naty = JsonHelper.getDestValue(jo, "result.naty");
|
|
|
- Global.pat.certNO = JsonHelper.getDestValue(jo, "result.credNo");
|
|
|
- Global.pat.certType = JsonHelper.getDestValue(jo, "result.credCode");
|
|
|
+ if (string.IsNullOrEmpty(Global.pat.certNO)) Global.pat.certNO = JsonHelper.getDestValue(jo, "result.credNo");
|
|
|
+ if (string.IsNullOrEmpty(Global.pat.certType)) Global.pat.certType = JsonHelper.getDestValue(jo, "result.credCode");
|
|
|
return 0;
|
|
|
}
|
|
|
catch (Exception ex)
|