Browse Source

Merge branch 'master' of http://git.shengws.com/csx/gdyb

csx 3 years ago
parent
commit
01bba8b8b0
1 changed files with 4 additions and 4 deletions
  1. 4 4
      controllers/zh/zh_his_api_controller.go

+ 4 - 4
controllers/zh/zh_his_api_controller.go View File

780
 		struct2401.MdtrtCertNo = res2.Output.Baseinfo.Certno
780
 		struct2401.MdtrtCertNo = res2.Output.Baseinfo.Certno
781
 		if miConfig.Code == "H15049901371" {
781
 		if miConfig.Code == "H15049901371" {
782
 			if med_type == 14 {
782
 			if med_type == 14 {
783
-				struct2401.MedType = "14"
783
+				struct2401.MedType = "990502"
784
 			} else if med_type == 11 {
784
 			} else if med_type == 11 {
785
 				struct2401.MedType = "11"
785
 				struct2401.MedType = "11"
786
 
786
 
866
 		}
866
 		}
867
 
867
 
868
 		if res.Infcode == 0 {
868
 		if res.Infcode == 0 {
869
-			result2 := service.Gdyb5301Two(res2.Output.Baseinfo.PsnNo, miConfig.OrgName, role.UserName, miConfig.Code, record.InsuplcAdmdvs, miConfig.MdtrtareaAdmvs, miConfig.SecretKey)
870
-			fmt.Println(result2)
869
+			//result2 := service.Gdyb5301Two(res2.Output.Baseinfo.PsnNo, miConfig.OrgName, role.UserName, miConfig.Code, record.InsuplcAdmdvs, miConfig.MdtrtareaAdmvs, miConfig.SecretKey)
870
+			//fmt.Println(result2)
871
 			Iinfos, _ := json.Marshal(res2.Output.Iinfo)
871
 			Iinfos, _ := json.Marshal(res2.Output.Iinfo)
872
 			Idetinfos, _ := json.Marshal(res2.Output.Idetinfo)
872
 			Idetinfos, _ := json.Marshal(res2.Output.Idetinfo)
873
 			infoStr := string(Iinfos)
873
 			infoStr := string(Iinfos)
1346
 	}
1346
 	}
1347
 	if miConfig.Code == "H15049901371" {
1347
 	if miConfig.Code == "H15049901371" {
1348
 		if record.MedType == 14 {
1348
 		if record.MedType == 14 {
1349
-			data["med_type"] = "14"
1349
+			data["med_type"] = "990502"
1350
 
1350
 
1351
 		} else if record.MedType == 11 {
1351
 		} else if record.MedType == 11 {
1352
 
1352