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
 	if certificates == "6" {
101
 	if certificates == "6" {
102
 		inputData["mdtrt_cert_type"] = "99" // 就诊凭证类型
102
 		inputData["mdtrt_cert_type"] = "99" // 就诊凭证类型
103
 		inputData["certno"] = certNo        // 证件号码
103
 		inputData["certno"] = certNo        // 证件号码
104
+		inputData["psn_cert_type"] = "99"   // 人员证件类型
104
 
105
 
105
 	} else {
106
 	} else {
106
 		if id_card_type == 1 {
107
 		if id_card_type == 1 {
107
 			inputData["mdtrt_cert_type"] = "03" // 就诊凭证类型
108
 			inputData["mdtrt_cert_type"] = "03" // 就诊凭证类型
108
 			inputData["card_sn"] = card_sn      // 卡识别码
109
 			inputData["card_sn"] = card_sn      // 卡识别码
109
 			inputData["certno"] = certNo        // 证件号码
110
 			inputData["certno"] = certNo        // 证件号码
111
+			inputData["psn_cert_type"] = "1"    // 人员证件类型
112
+
110
 		} else {
113
 		} else {
111
 			inputData["mdtrt_cert_type"] = "02" // 就诊凭证类型
114
 			inputData["mdtrt_cert_type"] = "02" // 就诊凭证类型
112
 			inputData["card_sn"] = ""           // 卡识别码
115
 			inputData["card_sn"] = ""           // 卡识别码
113
 			inputData["certno"] = certNo        // 证件号码
116
 			inputData["certno"] = certNo        // 证件号码
117
+			inputData["psn_cert_type"] = "1"    // 人员证件类型
114
 		}
118
 		}
115
 	}
119
 	}
116
 
120
 
117
-	inputData["psn_cert_type"] = "1"    // 人员证件类型
118
 	inputData["mdtrt_cert_no"] = certNo // 就诊凭证编号
121
 	inputData["mdtrt_cert_no"] = certNo // 就诊凭证编号
119
 	inputData["begntime"] = ""          // 开始时间
122
 	inputData["begntime"] = ""          // 开始时间
120
 	inputData["psn_name"] = ""          // 人员姓名
123
 	inputData["psn_name"] = ""          // 人员姓名