Selaa lähdekoodia

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

csx 3 vuotta sitten
vanhempi
commit
05b48bfc7f
3 muutettua tiedostoa jossa 15 lisäystä ja 15 poistoa
  1. 3 3
      conf/app.conf
  2. 9 9
      controllers/sg/his_api_controller.go
  3. 3 3
      controllers/zh/zh_his_api_controller.go

+ 3 - 3
conf/app.conf Näytä tiedosto

@@ -45,7 +45,7 @@ appsecret="61ee2e6268497d5aa9de0b0187c39aea"
45 45
 
46 46
 
47 47
 [prod]
48
-org_id = 9919
48
+org_id = 10265
49 49
 mobile_token_expiration_second = 86400
50 50
 httpdomain = https://api.xt.kuyicloud.com
51 51
 sso_domain = https://sso.kuyicloud.com
@@ -53,10 +53,10 @@ call_domain = https://hf.sgjyun.com
53 53
 front_end_domain = "https://xt.kuyicloud.com/#"
54 54
 #url  = "http://192.168.1.228:17001/szsi-portal/transData"
55 55
 #url = "http://192.168.1.88:6666/szsi-portal/transData"
56
-gdyb_url = "http://igb.hsa.gdgov.cn/ebus/gdyb_api/prd/hsa/hgs/"
56
+#gdyb_url = "http://igb.hsa.gdgov.cn/ebus/gdyb_api/prd/hsa/hgs/"
57 57
 #gdyb_url="http://igb.hsa.gdgov.cn/ebus/sz_prd/hsa/hgs/"
58 58
 #内蒙古
59
-#gdyb_url = "http://10.38.23.105:8090/uif-hsaf-med-api/api/medical/service/"
59
+gdyb_url = "http://10.38.23.105:8090/uif-hsaf-med-api/api/medical/service/"
60 60
 gdyb_paasid = "sg03_prd"
61 61
 #gdyb_paasid = "jm_sc_yjyy"
62 62
 #gdyb_paasid="zh_prd_yjyy"

+ 9 - 9
controllers/sg/his_api_controller.go Näytä tiedosto

@@ -3328,14 +3328,14 @@ 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 = "14"
3331
+							med_type = "140104"
3332 3332
 						} else if reg_type == 11 {
3333 3333
 							med_type = "11"
3334 3334
 
3335 3335
 						}
3336 3336
 					} else if his.Insutype == "310" {
3337 3337
 						if reg_type == 14 {
3338
-							med_type = "990502"
3338
+							med_type = "140104"
3339 3339
 						} else if reg_type == 11 {
3340 3340
 							med_type = "11"
3341 3341
 						}
@@ -3831,7 +3831,7 @@ func (c *HisApiController) GetUploadInfo() {
3831 3831
 									}
3832 3832
 								} else if his.Insutype == "310" {
3833 3833
 									if reg_type == 14 {
3834
-										med_type = "990502"
3834
+										med_type = "140104"
3835 3835
 									} else if reg_type == 11 {
3836 3836
 										med_type = "11"
3837 3837
 									}
@@ -4126,13 +4126,13 @@ func (c *HisApiController) GetUploadInfo() {
4126 4126
 					var med_type string
4127 4127
 					if his.Insutype == "390" {
4128 4128
 						if reg_type == 14 {
4129
-							med_type = "14"
4129
+							med_type = "140104"
4130 4130
 						} else if reg_type == 11 {
4131 4131
 							med_type = "11"
4132 4132
 						}
4133 4133
 					} else if his.Insutype == "310" {
4134 4134
 						if reg_type == 14 {
4135
-							med_type = "990502"
4135
+							med_type = "140104"
4136 4136
 						} else if reg_type == 11 {
4137 4137
 							med_type = "11"
4138 4138
 						}
@@ -4911,13 +4911,13 @@ func (c *HisApiController) GetPreUploadInfo() {
4911 4911
 				var med_type string
4912 4912
 				if his.Insutype == "390" {
4913 4913
 					if reg_type == 14 {
4914
-						med_type = "14"
4914
+						med_type = "140104"
4915 4915
 					} else if reg_type == 11 {
4916 4916
 						med_type = "11"
4917 4917
 					}
4918 4918
 				} else if his.Insutype == "310" {
4919 4919
 					if reg_type == 14 {
4920
-						med_type = "990502"
4920
+						med_type = "140104"
4921 4921
 					} else if reg_type == 11 {
4922 4922
 						med_type = "11"
4923 4923
 					}
@@ -5350,13 +5350,13 @@ func (c *HisApiController) GetPreUploadInfo() {
5350 5350
 							var med_type string
5351 5351
 							if his.Insutype == "390" {
5352 5352
 								if reg_type == 14 {
5353
-									med_type = "14"
5353
+									med_type = "140104"
5354 5354
 								} else if reg_type == 11 {
5355 5355
 									med_type = "11"
5356 5356
 								}
5357 5357
 							} else if his.Insutype == "310" {
5358 5358
 								if reg_type == 14 {
5359
-									med_type = "990502"
5359
+									med_type = "140104"
5360 5360
 								} else if reg_type == 11 {
5361 5361
 									med_type = "11"
5362 5362
 								}

+ 3 - 3
controllers/zh/zh_his_api_controller.go Näytä tiedosto

@@ -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 = "140104"
784 784
 			} else if med_type == 11 {
785 785
 				struct2401.MedType = "11"
786 786
 
@@ -1220,7 +1220,7 @@ func (c *ZHHisApiController) GetSettleInfo() {
1220 1220
 		order.CvlservFlag = res.Output.Setlinfo.CvlservFlag
1221 1221
 		order.SetlTime = res.Output.Setlinfo.SetlTime
1222 1222
 		order.MdtrtCertType = res.Output.Setlinfo.MdtrtCertType
1223
-		if res.Output.Setlinfo.MedType == "990502" {
1223
+		if res.Output.Setlinfo.MedType == "140104" {
1224 1224
 
1225 1225
 			order.MedType = "14"
1226 1226
 
@@ -1354,7 +1354,7 @@ func (c *ZHHisApiController) GetUploadInfo() {
1354 1354
 	}
1355 1355
 	if miConfig.Code == "H15049901371" {
1356 1356
 		if record.MedType == 14 {
1357
-			data["med_type"] = "990502"
1357
+			data["med_type"] = "140104"
1358 1358
 
1359 1359
 		} else if record.MedType == 11 {
1360 1360