Explorar el Código

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

csx hace 3 años
padre
commit
df14517e94
Se han modificado 1 ficheros con 0 adiciones y 21 borrados
  1. 0 21
      service/gdyb_service.go

+ 0 - 21
service/gdyb_service.go Ver fichero

@@ -212,7 +212,6 @@ func Gdyb1101(certNo string, org_name string, doctor string, fixmedins_code stri
212 212
 	url := gdyb_url + "1101"
213 213
 
214 214
 	if insuplc_admdvs == "421300" {
215
-		bytesData, err := json.Marshal(inputMessage)
216 215
 		var json2 string
217 216
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "1101", string(bytesData), json2)
218 217
 		out, err := cmd.Output()
@@ -291,8 +290,6 @@ func Gdyb1101A(certNo string, org_name string, doctor string, fixmedins_code str
291 290
 	//url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/1101"
292 291
 
293 292
 	if insuplc_admdvs == "421300" {
294
-		inputMessage["infver"] = "V2.0"
295
-		bytesData, err := json.Marshal(inputMessage)
296 293
 		var json2 string
297 294
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "1101A", string(bytesData), json2)
298 295
 		out, err := cmd.Output()
@@ -386,8 +383,6 @@ func Gdyb2201(psnNo string, insutype string, certNo string, org_name string, doc
386 383
 	url := gdyb_url + "2201"
387 384
 
388 385
 	if insuplc_admdvs == "421300" {
389
-		inputMessage["infver"] = "V2.0"
390
-		bytesData, err := json.Marshal(inputMessage)
391 386
 		var json2 string
392 387
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "2201", string(bytesData), json2)
393 388
 		out, err := cmd.Output()
@@ -468,8 +463,6 @@ func Gdyb2202(psnNo string, mdtrtId string, ipt_otp_no string, org_name string,
468 463
 
469 464
 	//url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/2202"
470 465
 	if insuplc_admdvs == "421300" {
471
-		inputMessage["infver"] = "V2.0"
472
-		bytesData, err := json.Marshal(inputMessage)
473 466
 		var json2 string
474 467
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "2202", string(bytesData), json2)
475 468
 		out, err := cmd.Output()
@@ -573,8 +566,6 @@ func Gdyb2203(psnNo string, mdtrtId string, doctor string, department string, or
573 566
 	url := gdyb_url + "2203"
574 567
 
575 568
 	if insuplc_admdvs == "421300" {
576
-		inputMessage["infver"] = "V2.0"
577
-		bytesData, err := json.Marshal(inputMessage)
578 569
 		var json2 string
579 570
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "2203", string(bytesData), json2)
580 571
 		out, err := cmd.Output()
@@ -683,8 +674,6 @@ func Gdyb2203A(psnNo string, mdtrtId string, doctor string, department string, o
683 674
 	url := gdyb_url + "2203A"
684 675
 
685 676
 	if insuplc_admdvs == "421300" {
686
-		inputMessage["infver"] = "V2.0"
687
-		bytesData, err := json.Marshal(inputMessage)
688 677
 		var json2 string
689 678
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "2203A", string(bytesData), json2)
690 679
 		out, err := cmd.Output()
@@ -958,8 +947,6 @@ func Gdyb2204(psnNo string, mdtrtId string, hisPrescription []*models.HisPrescri
958 947
 	//url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/2204"
959 948
 
960 949
 	if insuplc_admdvs == "421300" {
961
-		inputMessage["infver"] = "V2.0"
962
-		bytesData, err := json.Marshal(inputMessage)
963 950
 		var json2 string
964 951
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "2204", string(bytesData), json2)
965 952
 		out, err := cmd.Output()
@@ -1045,8 +1032,6 @@ func Gdyb2205(psnNo string, mdtrtId string, chrgBchno string, org_name string, d
1045 1032
 	//url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/2205"
1046 1033
 
1047 1034
 	if insuplc_admdvs == "421300" {
1048
-		inputMessage["infver"] = "V2.0"
1049
-		bytesData, err := json.Marshal(inputMessage)
1050 1035
 		var json2 string
1051 1036
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "2205", string(bytesData), json2)
1052 1037
 		out, err := cmd.Output()
@@ -1154,8 +1139,6 @@ func Gdyb2206(psnNo string, mdtrtId string, chrgBchno string, certNo string, ins
1154 1139
 	//url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/2206"
1155 1140
 
1156 1141
 	if insuplc_admdvs == "421300" {
1157
-		inputMessage["infver"] = "V2.0"
1158
-		bytesData, err := json.Marshal(inputMessage)
1159 1142
 		var json2 string
1160 1143
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "2206", string(bytesData), json2)
1161 1144
 		out, err := cmd.Output()
@@ -1259,8 +1242,6 @@ func Gdyb2207(psnNo string, mdtrtId string, chrgBchno string, certNo string, ins
1259 1242
 	//url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/2207"
1260 1243
 
1261 1244
 	if insuplc_admdvs == "421300" {
1262
-		inputMessage["infver"] = "V2.0"
1263
-		bytesData, err := json.Marshal(inputMessage)
1264 1245
 		var json2 string
1265 1246
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "2207", string(bytesData), json2)
1266 1247
 		out, err := cmd.Output()
@@ -1347,8 +1328,6 @@ func Gdyb2208(psnNo string, mdtrtId string, setlId string, org_name string, doct
1347 1328
 	//url := "http://igb.hsa.gdgov.cn/ebus/gdyb_inf/poc/hsa/hgs/2208"
1348 1329
 
1349 1330
 	if insuplc_admdvs == "421300" {
1350
-		inputMessage["infver"] = "V2.0"
1351
-		bytesData, err := json.Marshal(inputMessage)
1352 1331
 		var json2 string
1353 1332
 		cmd := exec.Command("java", "-jar", "yh_hb_fat.jar", "2208", string(bytesData), json2)
1354 1333
 		out, err := cmd.Output()