Browse Source

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

csx 3 years ago
parent
commit
02ebaf98d8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      service/gdyb_service.go

+ 2 - 2
service/gdyb_service.go View File

@@ -98,7 +98,7 @@ func Gdyb1101(certNo string, org_name string, doctor string, fixmedins_code stri
98 98
 	inputData := make(map[string]interface{})
99 99
 	inputMessage["infno"] = "1101" // 交易编码
100 100
 
101
-	if certificates == "6" {
101
+	if certificates == "3" {
102 102
 		inputData["mdtrt_cert_type"] = "99" // 就诊凭证类型
103 103
 		inputData["certno"] = certNo        // 证件号码
104 104
 		inputData["psn_cert_type"] = "99"   // 人员证件类型
@@ -941,7 +941,7 @@ func Gdyb2207(psnNo string, mdtrtId string, chrgBchno string, certNo string, ins
941 941
 	inputData := make(map[string]interface{})
942 942
 	inputMessage["infno"] = "2207" // 交易编码
943 943
 	inputData["psn_no"] = psnNo    // 人员编号 (来自1101接口返回)
944
-	if certificates == 6 {
944
+	if certificates == 3 {
945 945
 		inputData["mdtrt_cert_type"] = "99" // 就诊凭证类型
946 946
 		inputData["mdtrt_cert_no"] = certNo // 就诊凭证编号
947 947
 	} else {