|
@@ -505,7 +505,7 @@ func (c *ZHHisApiController) GetZHPatientInfo() {
|
505
|
505
|
//请求内网数据
|
506
|
506
|
api := "http://172.16.13.254:9532/" + "nmyb/1101?cert_no=" + patient.IdCardNo +
|
507
|
507
|
"&org_name=" + miConfig.OrgName + "&doctor=" + role.UserName + "&fixmedins_code=" + miConfig.Code +
|
508
|
|
- "&insuplc_admdvs=" + miConfig.InsuplcAdmdvs + "&mdtrtarea_admvs=" + miConfig.MdtrtareaAdmvs + "&secret_key=" + miConfig.SecretKey + "&id_card_type=" + strconv.FormatInt(id_card_type, 10) + "&card_sn=" + "" + "&certificates=" + strconv.FormatInt(certificates, 10) + "&name=" + patient.Name
|
|
508
|
+ "&insuplc_admdvs=" + miConfig.InsuplcAdmdvs + "&mdtrtarea_admvs=" + miConfig.MdtrtareaAdmvs + "&secret_key=" + miConfig.SecretKey + "&id_card_type=" + strconv.FormatInt(2, 10) + "&card_sn=" + "" + "&certificates=" + strconv.FormatInt(1, 10) + "&name=" + patient.Name
|
509
|
509
|
|
510
|
510
|
resp, requestErr := http.Get(api)
|
511
|
511
|
if requestErr != nil {
|
|
@@ -535,7 +535,7 @@ func (c *ZHHisApiController) GetZHPatientInfo() {
|
535
|
535
|
saveLog(result_log, request_log, "1101", "人员基本信息获取")
|
536
|
536
|
|
537
|
537
|
} else {
|
538
|
|
- result, request_log, result_log = service.ZHGdyb1101(patient.IdCardNo, miConfig.OrgName, role.UserName, miConfig.Code, miConfig.InsuplcAdmdvs, miConfig.MdtrtareaAdmvs, miConfig.SecretKey, id_card_type, "", certificates, name)
|
|
538
|
+ result, request_log, result_log = service.ZHGdyb1101(patient.IdCardNo, miConfig.OrgName, role.UserName, miConfig.Code, miConfig.InsuplcAdmdvs, miConfig.MdtrtareaAdmvs, miConfig.SecretKey, 2, "", 1, patient.Name)
|
539
|
539
|
saveLog(result_log, request_log, "1101", "人员基本信息获取")
|
540
|
540
|
|
541
|
541
|
}
|
|
@@ -2267,7 +2267,7 @@ func (c *ZHHisApiController) ZHRefund() {
|
2267
|
2267
|
}
|
2268
|
2268
|
|
2269
|
2269
|
if res.Infcode == 0 {
|
2270
|
|
- err := service.UpdataOrderStatusThree(order_id, order.Number, adminUser.CurrentOrgId, src_resquest, result)
|
|
2270
|
+ err := service.UpdataOrderStatusThree(order_id, order.Number, adminUser.CurrentOrgId, "", result)
|
2271
|
2271
|
//不同地区退费流程不一样,肇庆那边退费就包括撤销出院,内蒙古退费不包括撤销明细,所以下面需要根据不同情况进行判断
|
2272
|
2272
|
if miConfig.UserOrgId == 10215 {
|
2273
|
2273
|
record.OutHospitalStatus = 0
|