Quellcode durchsuchen

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

csx vor 3 Jahren
Ursprung
Commit
68cfa0076f
2 geänderte Dateien mit 7 neuen und 7 gelöschten Zeilen
  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 Datei anzeigen

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

+ 2 - 2
controllers/zh/zh_his_api_controller.go Datei anzeigen

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