Explorar el Código

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

csx hace 1 año
padre
commit
d7962889e4
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      service/gdyb_service.go

+ 6 - 1
service/gdyb_service.go Ver fichero

@@ -4488,8 +4488,13 @@ func Gdyb1101D(certNo string, org_name string, doctor string, fixmedins_code str
4488 4488
 				inputData["certno"] = certNo        // 证件号码
4489 4489
 				inputData["psn_cert_type"] = "01"   // 人员证件类型
4490 4490
 
4491
+			} else if id_card_type == 4 {
4492
+				inputData["mdtrt_cert_type"] = "01" // 就诊凭证类型
4493
+				inputData["certno"] = certNo        // 证件号码
4494
+				inputData["psn_cert_type"] = "01"   // 人员证件类型
4495
+
4491 4496
 			} else {
4492
-				inputData["mdtrt_cert_type"] = "02" // 就诊凭证类型
4497
+				inputData["mdtrt_cert_type"] = "01" // 就诊凭证类型
4493 4498
 				inputData["card_sn"] = ""           // 卡识别码
4494 4499
 				inputData["certno"] = certNo        // 证件号码
4495 4500
 				inputData["psn_cert_type"] = "01"   // 人员证件类型