2026-01-12 08:55:09 --- 接收到的参数{ "TranCode": "4001", "SourceID": "ZZ", "CardNo": "410622196612265013", "CardType": "2", "OpenID": "", "UserID": "ZZJ1" } 2026-01-12 08:55:09 --- 4001:select '0' as "ResultCode", '成功' as "ErrorMsg", KID as "CardNo",I_ZT as "CardStatus",n_jine as "Balance", hymc as "PatientName", (select max(pid) from patientinfo where card_no = KID) as "PatientID", (select distinct id from patientinfo where card_no = KID) as "IDCardNo",'' as "AreaID",(select (select oper_name from code_operator where oper_code=t_zkxx.v_zkr) from t_zkxx where t_zkxx.kid=t_kxx.kid) as "KName",(select v_zksj from t_zkxx where t_zkxx.kid=t_kxx.kid) as "KDate", decode(sex,'1','男','2','女') as "Sex", i_nl as "Age" from t_kxx where KID='410622196612265013' 2026-01-12 08:55:15 --- 接收到的参数{ "TranCode": "7001", "SourceID": "ZZ", "AreaID": "0101", "PatientID": "95956", "PatientName": "常振江", "DateTime": "2026-01-12", "UserID": "ZZJ1" } 2026-01-12 08:55:36 --- 接收到的参数{ "TranCode": "7002", "SourceID": "ZZ", "AreaID": "0101", "PatientID": "95956", "PatientName": "常振江", "VisitNo": "20260112_0030", "DateTime": "2026-01-12", "UserID": "ZZJ1" } 2026-01-12 08:56:13 --- 接收到的参数{ "TranCode": "7004", "SourceID": "ZZ", "AreaID": "0101", "PatientID": "95956", "PatientName": "常振江", "OrderNoList": "599048|599046|599047", "OrderAmt": "214.96", "PayChannel": "02", "PayType": "2", "BankCard": "", "ReferenceFlowNo": "14DL26011208543840069", "FlowNo": "4200003007202601127268064647", "ALLCARDANDEXP": "", "DateTime": "2026-01-12", "UserID": "ZZJ1" } 2026-01-12 08:56:18 --- 调用PROC_SAVE_ZZAP_REC_YKT返回0:{"ye":"","chrg":"378644"} 2026-01-12 08:56:18 --- (调用发票)http://192.168.100.62:8080/lxdzfpprocess.ashxhttp://192.168.100.62:8080/lxdzfpprocess.ashx?jylx=dzfp_bs&ywbm=cq9102&Type=1&chrg_no=378644&PayerPartyType=1&PayerPartyCode=&Email=&EInvoiceCode=&EInvoiceNumber=&Reason=1&PInvoiceCode=&PInvoiceNumber=&PRandomNumber=&oper_code=ZZJ1 2026-01-12 08:56:30 --- (调用发票)http://192.168.100.62:8080/lxdzfpprocess.ashxhttp://192.168.100.62:8080/lxdzfpprocess.ashx?jylx=dzfp_bs&ywbm=cq9102&Type=1&chrg_no=378644&PayerPartyType=1&PayerPartyCode=&Email=&EInvoiceCode=&EInvoiceNumber=&Reason=1&PInvoiceCode=&PInvoiceNumber=&PRandomNumber=&oper_code=ZZJ1返回:{"status":"-1","message":"业务执行异常:开具医疗电子票据失败,开票请求失败了返回内容异常!Code=500,Message=开票失败"} 2026-01-12 08:56:30 --- System.NullReferenceException: 未将对象引用设置到对象的实例。 在 ZZAYwebservice.DB.HisPatient.dzfpKp(String chrg_no) 位置 D:\lx\有关我做的接口和报表\开封口腔自助机\APZZJ\ZZAYwebservice\DB\HisPatient.cs:行号 1305 2026-01-12 08:56:30 --- 查询明细select distinct reg_no,(select dept_name from code_department where dept_code=cl_recipe.dept_code) as dept,(select sum(total) from cl_recentry where trim(rec_no) in ('599048','599046','599047')) as totalamt from cl_recipe where trim(rec_no) in ('599048','599046','599047') 2026-01-12 08:56:31 --- 接收到的参数{ "TranCode": "4001", "SourceID": "ZZ", "CardNo": "410622196612265013", "CardType": "2", "OpenID": "", "UserID": "zzj01" } 2026-01-12 08:56:31 --- 4001:select '0' as "ResultCode", '成功' as "ErrorMsg", KID as "CardNo",I_ZT as "CardStatus",n_jine as "Balance", hymc as "PatientName", (select max(pid) from patientinfo where card_no = KID) as "PatientID", (select distinct id from patientinfo where card_no = KID) as "IDCardNo",'' as "AreaID",(select (select oper_name from code_operator where oper_code=t_zkxx.v_zkr) from t_zkxx where t_zkxx.kid=t_kxx.kid) as "KName",(select v_zksj from t_zkxx where t_zkxx.kid=t_kxx.kid) as "KDate", decode(sex,'1','男','2','女') as "Sex", i_nl as "Age" from t_kxx where KID='410622196612265013' 2026-01-12 14:24:31 --- 接收到的参数{ "TranCode": "4001", "SourceID": "ZZ", "CardNo": "410621199001241124", "CardType": "2", "OpenID": "", "UserID": "ZZJ1" } 2026-01-12 14:24:31 --- 4001:select '0' as "ResultCode", '成功' as "ErrorMsg", KID as "CardNo",I_ZT as "CardStatus",n_jine as "Balance", hymc as "PatientName", (select max(pid) from patientinfo where card_no = KID) as "PatientID", (select distinct id from patientinfo where card_no = KID) as "IDCardNo",'' as "AreaID",(select (select oper_name from code_operator where oper_code=t_zkxx.v_zkr) from t_zkxx where t_zkxx.kid=t_kxx.kid) as "KName",(select v_zksj from t_zkxx where t_zkxx.kid=t_kxx.kid) as "KDate", decode(sex,'1','男','2','女') as "Sex", i_nl as "Age" from t_kxx where KID='410621199001241124' 2026-01-12 14:24:45 --- 接收到的参数{ "TranCode": "2001", "IDCardNo": "410621199001241124", "Uid": "" } 2026-01-12 14:24:45 --- 2001 2026-01-12 14:24:45 --- 410621199001241124 2026-01-12 14:24:45 --- {"ResultCode":"0","ErrorMsg":" 成功","PatientID":""} 2026-01-12 14:24:53 --- 接收到的参数{ "TranCode": "2002", "SourceID": "ZZ", "AreaID": "0101", "CreateType": "0", "CardNo": "410621199001241124", "CardType": "2", "PatientName": "黄亚平", "Sex": "2", "Birthday": "1990-01-24", "Age": "36", "IDCardNo": "410621199001241124", "Address": "河南省汤阴县宜沟镇陈庄村12号", "Tel": "17315290508", "Amt": "0", "PayType": "null", "BankCard": "", "ReferenceFlowNo": "", "ActTime": "2026-01-12 14:23:23", "FlowNo": "ZZJ120260112049616", "OpenID": "", "UserID": "ZZJ1" } 2026-01-12 14:24:53 --- 创建卡判断用户存在0 2026-01-12 14:24:53 --- 创建卡开始循环 2026-01-12 14:24:54 --- 创建卡执行存储 2026-01-12 14:24:54 --- 创建卡输出 2026-01-12 14:25:15 --- 接收到的参数{ "TranCode": "4001", "SourceID": "ZZ", "CardNo": "410621199001241124", "CardType": "2", "OpenID": "", "UserID": "ZZJ1" } 2026-01-12 14:25:15 --- 4001:select '0' as "ResultCode", '成功' as "ErrorMsg", KID as "CardNo",I_ZT as "CardStatus",n_jine as "Balance", hymc as "PatientName", (select max(pid) from patientinfo where card_no = KID) as "PatientID", (select distinct id from patientinfo where card_no = KID) as "IDCardNo",'' as "AreaID",(select (select oper_name from code_operator where oper_code=t_zkxx.v_zkr) from t_zkxx where t_zkxx.kid=t_kxx.kid) as "KName",(select v_zksj from t_zkxx where t_zkxx.kid=t_kxx.kid) as "KDate", decode(sex,'1','男','2','女') as "Sex", i_nl as "Age" from t_kxx where KID='410621199001241124' 2026-01-12 14:25:20 --- 接收到的参数{ "TranCode": "5001", "SearchType": "0", "DateTime": "2026-01-12" } 2026-01-12 14:25:47 --- 接收到的参数{ "TranCode": "4001", "SourceID": "ZZ", "CardNo": "410621199001241124", "CardType": "2", "OpenID": "", "UserID": "ZZJ1" } 2026-01-12 14:25:47 --- 4001:select '0' as "ResultCode", '成功' as "ErrorMsg", KID as "CardNo",I_ZT as "CardStatus",n_jine as "Balance", hymc as "PatientName", (select max(pid) from patientinfo where card_no = KID) as "PatientID", (select distinct id from patientinfo where card_no = KID) as "IDCardNo",'' as "AreaID",(select (select oper_name from code_operator where oper_code=t_zkxx.v_zkr) from t_zkxx where t_zkxx.kid=t_kxx.kid) as "KName",(select v_zksj from t_zkxx where t_zkxx.kid=t_kxx.kid) as "KDate", decode(sex,'1','男','2','女') as "Sex", i_nl as "Age" from t_kxx where KID='410621199001241124' 2026-01-12 14:25:48 --- 接收到的参数{ "TranCode": "5001", "SearchType": "0", "DateTime": "2026-01-12" } 2026-01-12 14:26:13 --- 接收到的参数{ "TranCode": "4001", "SourceID": "ZZ", "CardNo": "410621199001241124", "CardType": "2", "OpenID": "", "UserID": "ZZJ1" } 2026-01-12 14:26:13 --- 4001:select '0' as "ResultCode", '成功' as "ErrorMsg", KID as "CardNo",I_ZT as "CardStatus",n_jine as "Balance", hymc as "PatientName", (select max(pid) from patientinfo where card_no = KID) as "PatientID", (select distinct id from patientinfo where card_no = KID) as "IDCardNo",'' as "AreaID",(select (select oper_name from code_operator where oper_code=t_zkxx.v_zkr) from t_zkxx where t_zkxx.kid=t_kxx.kid) as "KName",(select v_zksj from t_zkxx where t_zkxx.kid=t_kxx.kid) as "KDate", decode(sex,'1','男','2','女') as "Sex", i_nl as "Age" from t_kxx where KID='410621199001241124' 2026-01-12 14:26:15 --- 接收到的参数{ "TranCode": "7001", "SourceID": "ZZ", "AreaID": "0101", "PatientID": "137888", "PatientName": "黄亚平", "DateTime": "2026-01-12", "UserID": "ZZJ1" }