Explorar el Código

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

csx hace 3 años
padre
commit
1488106bc4
Se han modificado 1 ficheros con 11 adiciones y 11 borrados
  1. 11 11
      service/gdyb_service.go

+ 11 - 11
service/gdyb_service.go Ver fichero

@@ -211,7 +211,7 @@ func Gdyb1101(certNo string, org_name string, doctor string, fixmedins_code stri
211 211
 	//url := "http://igb.hsa.gdgov.cn/ebus/gdyb_api/prd/hsa/hgs/1101"
212 212
 	url := gdyb_url + "1101"
213 213
 
214
-	if insuplc_admdvs == "421300" {
214
+	if insuplc_admdvs == "420700" {
215 215
 		var json2 string
216 216
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "1101", string(bytesData), json2)
217 217
 		out, err := cmd.Output()
@@ -289,7 +289,7 @@ func Gdyb1101A(certNo string, org_name string, doctor string, fixmedins_code str
289 289
 
290 290
 	//url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/1101"
291 291
 
292
-	if insuplc_admdvs == "421300" {
292
+	if insuplc_admdvs == "420700" {
293 293
 		var json2 string
294 294
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "1101A", string(bytesData), json2)
295 295
 		out, err := cmd.Output()
@@ -382,7 +382,7 @@ func Gdyb2201(psnNo string, insutype string, certNo string, org_name string, doc
382 382
 	gdyb_paasid := beego.AppConfig.String("gdyb_paasid")
383 383
 	url := gdyb_url + "2201"
384 384
 
385
-	if insuplc_admdvs == "421300" {
385
+	if insuplc_admdvs == "420700" {
386 386
 		var json2 string
387 387
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "2201", string(bytesData), json2)
388 388
 		out, err := cmd.Output()
@@ -462,7 +462,7 @@ func Gdyb2202(psnNo string, mdtrtId string, ipt_otp_no string, org_name string,
462 462
 	//url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/2202"
463 463
 
464 464
 	//url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/2202"
465
-	if insuplc_admdvs == "421300" {
465
+	if insuplc_admdvs == "420700" {
466 466
 		var json2 string
467 467
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "2202", string(bytesData), json2)
468 468
 		out, err := cmd.Output()
@@ -565,7 +565,7 @@ func Gdyb2203(psnNo string, mdtrtId string, doctor string, department string, or
565 565
 	gdyb_paasid := beego.AppConfig.String("gdyb_paasid")
566 566
 	url := gdyb_url + "2203"
567 567
 
568
-	if insuplc_admdvs == "421300" {
568
+	if insuplc_admdvs == "420700" {
569 569
 		var json2 string
570 570
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "2203", string(bytesData), json2)
571 571
 		out, err := cmd.Output()
@@ -673,7 +673,7 @@ func Gdyb2203A(psnNo string, mdtrtId string, doctor string, department string, o
673 673
 	gdyb_paasid := beego.AppConfig.String("gdyb_paasid")
674 674
 	url := gdyb_url + "2203A"
675 675
 
676
-	if insuplc_admdvs == "421300" {
676
+	if insuplc_admdvs == "420700" {
677 677
 		var json2 string
678 678
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "2203A", string(bytesData), json2)
679 679
 		out, err := cmd.Output()
@@ -946,7 +946,7 @@ func Gdyb2204(psnNo string, mdtrtId string, hisPrescription []*models.HisPrescri
946 946
 
947 947
 	//url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/2204"
948 948
 
949
-	if insuplc_admdvs == "421300" {
949
+	if insuplc_admdvs == "420700" {
950 950
 		var json2 string
951 951
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "2204", string(bytesData), json2)
952 952
 		out, err := cmd.Output()
@@ -1031,7 +1031,7 @@ func Gdyb2205(psnNo string, mdtrtId string, chrgBchno string, org_name string, d
1031 1031
 
1032 1032
 	//url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/2205"
1033 1033
 
1034
-	if insuplc_admdvs == "421300" {
1034
+	if insuplc_admdvs == "420700" {
1035 1035
 		var json2 string
1036 1036
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "2205", string(bytesData), json2)
1037 1037
 		out, err := cmd.Output()
@@ -1138,7 +1138,7 @@ func Gdyb2206(psnNo string, mdtrtId string, chrgBchno string, certNo string, ins
1138 1138
 
1139 1139
 	//url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/2206"
1140 1140
 
1141
-	if insuplc_admdvs == "421300" {
1141
+	if insuplc_admdvs == "420700" {
1142 1142
 		var json2 string
1143 1143
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "2206", string(bytesData), json2)
1144 1144
 		out, err := cmd.Output()
@@ -1241,7 +1241,7 @@ func Gdyb2207(psnNo string, mdtrtId string, chrgBchno string, certNo string, ins
1241 1241
 
1242 1242
 	//url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/2207"
1243 1243
 
1244
-	if insuplc_admdvs == "421300" {
1244
+	if insuplc_admdvs == "420700" {
1245 1245
 		var json2 string
1246 1246
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "2207", string(bytesData), json2)
1247 1247
 		out, err := cmd.Output()
@@ -1327,7 +1327,7 @@ func Gdyb2208(psnNo string, mdtrtId string, setlId string, org_name string, doct
1327 1327
 
1328 1328
 	//url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/2208"
1329 1329
 
1330
-	if insuplc_admdvs == "421300" {
1330
+	if insuplc_admdvs == "420700" {
1331 1331
 		var json2 string
1332 1332
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "2208", string(bytesData), json2)
1333 1333
 		out, err := cmd.Output()