|
@@ -1,4 +1,5 @@
|
|
|
using Newtonsoft.Json.Linq;
|
|
|
+using PTMedicalInsurance.Common;
|
|
|
using PTMedicalInsurance.Helper;
|
|
|
using PTMedicalInsurance.Variables;
|
|
|
using System;
|
|
@@ -76,13 +77,20 @@ namespace PTMedicalInsurance.Business
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
- #region 昆明结算前读卡核验身份
|
|
|
+ #region 结算前读卡核验身份
|
|
|
//string patInfo = "";
|
|
|
//if (readCard(out patInfo) != 0)
|
|
|
//{
|
|
|
// outParam = JsonHelper.setExceptionJson(-1, "readCard", patInfo).ToString();
|
|
|
// return -1;
|
|
|
//}
|
|
|
+ // 跨省异地电子凭证
|
|
|
+ if (Utils.isOtherProvice() && string.IsNullOrEmpty(Global.pat.ecCardNo) && Global.pat.certType == "01")
|
|
|
+ {
|
|
|
+ PatientService patientService = new PatientService();
|
|
|
+ patientService.readCard(out outParam);
|
|
|
+ }
|
|
|
+ // Global.writeLog("是否跨省:" + Utils.isOtherProvice()+",certType="+ Global.pat.certType);
|
|
|
|
|
|
#endregion
|
|
|
|