@@ -232,7 +232,8 @@ func (c *NmController) Post2301() {
insuplc_admdvs := respJSON["insuplc_admdvs"].(string)
mdtrtarea_admvs := respJSON["mdtrtarea_admvs"].(string)
secret_key := respJSON["secret_key"].(string)
- med_type := respJSON["med_type"].(string)
+ //med_type := respJSON["med_type"].(float64)
+ med_type := strconv.FormatInt(int64(respJSON["med_type"].(float64)), 10)
psn_no := respJSON["psn_no"].(string)
result, requestLog := service.ZHGdyb2301A(psn_no, number, customs, chrg_bchno, org_name, doctor_name, dept, fixmedins_code, dept_code, int64(doctor_code), insuplc_admdvs, mdtrtarea_admvs, secret_key, med_type, opertor)