Explorar el Código

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

csx hace 3 años
padre
commit
01bba8b8b0
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      controllers/zh/zh_his_api_controller.go

+ 4 - 4
controllers/zh/zh_his_api_controller.go Ver fichero

@@ -780,7 +780,7 @@ func (c *ZHHisApiController) GetZHInHospitalCheck() {
780 780
 		struct2401.MdtrtCertNo = res2.Output.Baseinfo.Certno
781 781
 		if miConfig.Code == "H15049901371" {
782 782
 			if med_type == 14 {
783
-				struct2401.MedType = "14"
783
+				struct2401.MedType = "990502"
784 784
 			} else if med_type == 11 {
785 785
 				struct2401.MedType = "11"
786 786
 
@@ -866,8 +866,8 @@ func (c *ZHHisApiController) GetZHInHospitalCheck() {
866 866
 		}
867 867
 
868 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 871
 			Iinfos, _ := json.Marshal(res2.Output.Iinfo)
872 872
 			Idetinfos, _ := json.Marshal(res2.Output.Idetinfo)
873 873
 			infoStr := string(Iinfos)
@@ -1346,7 +1346,7 @@ func (c *ZHHisApiController) GetUploadInfo() {
1346 1346
 	}
1347 1347
 	if miConfig.Code == "H15049901371" {
1348 1348
 		if record.MedType == 14 {
1349
-			data["med_type"] = "14"
1349
+			data["med_type"] = "990502"
1350 1350
 
1351 1351
 		} else if record.MedType == 11 {
1352 1352