Browse Source

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

csx 3 years ago
parent
commit
68cfa0076f
2 changed files with 7 additions and 7 deletions
  1. 5 5
      controllers/sg/his_api_controller.go
  2. 2 2
      controllers/zh/zh_his_api_controller.go

+ 5 - 5
controllers/sg/his_api_controller.go View File

3328
 					var med_type string
3328
 					var med_type string
3329
 					if his.Insutype == "390" {
3329
 					if his.Insutype == "390" {
3330
 						if reg_type == 14 {
3330
 						if reg_type == 14 {
3331
-							med_type = "140104"
3331
+							med_type = "14"
3332
 						} else if reg_type == 11 {
3332
 						} else if reg_type == 11 {
3333
 							med_type = "11"
3333
 							med_type = "11"
3334
 						}
3334
 						}
3824
 								var med_type string
3824
 								var med_type string
3825
 								if his.Insutype == "390" {
3825
 								if his.Insutype == "390" {
3826
 									if reg_type == 14 {
3826
 									if reg_type == 14 {
3827
-										med_type = "140104"
3827
+										med_type = "14"
3828
 									} else if reg_type == 11 {
3828
 									} else if reg_type == 11 {
3829
 										med_type = "11"
3829
 										med_type = "11"
3830
 									}
3830
 									}
4125
 					var med_type string
4125
 					var med_type string
4126
 					if his.Insutype == "390" {
4126
 					if his.Insutype == "390" {
4127
 						if reg_type == 14 {
4127
 						if reg_type == 14 {
4128
-							med_type = "140104"
4128
+							med_type = "14"
4129
 						} else if reg_type == 11 {
4129
 						} else if reg_type == 11 {
4130
 							med_type = "11"
4130
 							med_type = "11"
4131
 						}
4131
 						}
4910
 				var med_type string
4910
 				var med_type string
4911
 				if his.Insutype == "390" {
4911
 				if his.Insutype == "390" {
4912
 					if reg_type == 14 {
4912
 					if reg_type == 14 {
4913
-						med_type = "140104"
4913
+						med_type = "14"
4914
 					} else if reg_type == 11 {
4914
 					} else if reg_type == 11 {
4915
 						med_type = "11"
4915
 						med_type = "11"
4916
 					}
4916
 					}
5349
 							var med_type string
5349
 							var med_type string
5350
 							if his.Insutype == "390" {
5350
 							if his.Insutype == "390" {
5351
 								if reg_type == 14 {
5351
 								if reg_type == 14 {
5352
-									med_type = "140104"
5352
+									med_type = "14"
5353
 								} else if reg_type == 11 {
5353
 								} else if reg_type == 11 {
5354
 									med_type = "11"
5354
 									med_type = "11"
5355
 								}
5355
 								}

+ 2 - 2
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 = "990502"
783
+				struct2401.MedType = "14"
784
 			} else if med_type == 11 {
784
 			} else if med_type == 11 {
785
 				struct2401.MedType = "11"
785
 				struct2401.MedType = "11"
786
 
786
 
1344
 	}
1344
 	}
1345
 	if miConfig.Code == "H15049901371" {
1345
 	if miConfig.Code == "H15049901371" {
1346
 		if record.MedType == 14 {
1346
 		if record.MedType == 14 {
1347
-			data["med_type"] = "990502"
1347
+			data["med_type"] = "14"
1348
 
1348
 
1349
 		} else if record.MedType == 11 {
1349
 		} else if record.MedType == 11 {
1350
 
1350