Browse Source

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

csx 2 years ago
parent
commit
bf4053d92b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      controllers/nm/nm_controller.go

+ 2 - 1
controllers/nm/nm_controller.go View File

@@ -232,7 +232,8 @@ func (c *NmController) Post2301() {
232 232
 	insuplc_admdvs := respJSON["insuplc_admdvs"].(string)
233 233
 	mdtrtarea_admvs := respJSON["mdtrtarea_admvs"].(string)
234 234
 	secret_key := respJSON["secret_key"].(string)
235
-	med_type := respJSON["med_type"].(string)
235
+	//med_type := respJSON["med_type"].(float64)
236
+	med_type := strconv.FormatInt(int64(respJSON["med_type"].(float64)), 10)
236 237
 	psn_no := respJSON["psn_no"].(string)
237 238
 
238 239
 	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)