Browse Source

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

csx 3 years ago
parent
commit
1f32ea3260
1 changed files with 4 additions and 1 deletions
  1. 4 1
      service/gdyb_service.go

+ 4 - 1
service/gdyb_service.go View File

@@ -101,20 +101,23 @@ func Gdyb1101(certNo string, org_name string, doctor string, fixmedins_code stri
101 101
 	if certificates == "6" {
102 102
 		inputData["mdtrt_cert_type"] = "99" // 就诊凭证类型
103 103
 		inputData["certno"] = certNo        // 证件号码
104
+		inputData["psn_cert_type"] = "99"   // 人员证件类型
104 105
 
105 106
 	} else {
106 107
 		if id_card_type == 1 {
107 108
 			inputData["mdtrt_cert_type"] = "03" // 就诊凭证类型
108 109
 			inputData["card_sn"] = card_sn      // 卡识别码
109 110
 			inputData["certno"] = certNo        // 证件号码
111
+			inputData["psn_cert_type"] = "1"    // 人员证件类型
112
+
110 113
 		} else {
111 114
 			inputData["mdtrt_cert_type"] = "02" // 就诊凭证类型
112 115
 			inputData["card_sn"] = ""           // 卡识别码
113 116
 			inputData["certno"] = certNo        // 证件号码
117
+			inputData["psn_cert_type"] = "1"    // 人员证件类型
114 118
 		}
115 119
 	}
116 120
 
117
-	inputData["psn_cert_type"] = "1"    // 人员证件类型
118 121
 	inputData["mdtrt_cert_no"] = certNo // 就诊凭证编号
119 122
 	inputData["begntime"] = ""          // 开始时间
120 123
 	inputData["psn_name"] = ""          // 人员姓名