|
@@ -3626,18 +3626,26 @@ func Gdyb1101B(certNo string, org_name string, doctor string, fixmedins_code str
|
3626
|
3626
|
inputData["psn_cert_type"] = "99"
|
3627
|
3627
|
|
3628
|
3628
|
} else {
|
3629
|
|
- if id_card_type == 1 {
|
3630
|
|
- inputData["mdtrt_cert_type"] = "03"
|
3631
|
|
- inputData["card_sn"] = ""
|
3632
|
|
- inputData["certno"] = certNo
|
3633
|
|
- inputData["psn_cert_type"] = ""
|
|
3629
|
+ if certificates == 1 {
|
|
3630
|
+ if id_card_type == 1 {
|
|
3631
|
+ inputData["mdtrt_cert_type"] = "03"
|
|
3632
|
+ inputData["card_sn"] = ""
|
|
3633
|
+ inputData["certno"] = certNo
|
|
3634
|
+ inputData["psn_cert_type"] = "01"
|
|
3635
|
+ } else {
|
|
3636
|
+ inputData["mdtrt_cert_type"] = "02"
|
|
3637
|
+ inputData["card_sn"] = ""
|
|
3638
|
+ inputData["certno"] = certNo
|
|
3639
|
+ inputData["psn_cert_type"] = "01"
|
|
3640
|
+ }
|
3634
|
3641
|
|
3635
|
|
- } else {
|
3636
|
|
- inputData["mdtrt_cert_type"] = "02"
|
|
3642
|
+ } else if certificates == 6 {
|
|
3643
|
+ inputData["mdtrt_cert_type"] = "03"
|
3637
|
3644
|
inputData["card_sn"] = ""
|
3638
|
3645
|
inputData["certno"] = certNo
|
3639
|
|
- inputData["psn_cert_type"] = ""
|
|
3646
|
+ inputData["psn_cert_type"] = "17"
|
3640
|
3647
|
}
|
|
3648
|
+
|
3641
|
3649
|
}
|
3642
|
3650
|
|
3643
|
3651
|
inputData["mdtrt_cert_no"] = certNo
|