From 2ece722bfafa27e3ef5dd5e060ee0624e6f263a6 Mon Sep 17 00:00:00 2001 From: zjh <zjh@888> Date: 星期三, 19 六月 2024 19:20:14 +0800 Subject: [PATCH] zjh 本地 2024/06/19 --3 --- ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisApiMethodService.java | 25 ++++++++++++++++--------- 1 files changed, 16 insertions(+), 9 deletions(-) diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisApiMethodService.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisApiMethodService.java index bdb7156..c018167 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisApiMethodService.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisApiMethodService.java @@ -54,16 +54,23 @@ public AjaxResult Outpincreateapply (TjCustomer customer) { Map<String, Object> map = new HashMap<> (); if (null != customer.getPationId () && !customer.getPationId().equals("0")) { - map.put ("pationid", customer.getPationId ()); + map.put ("Pationid", customer.getPationId ()); } else { - map.put ("pationid", null); + map.put ("Pationid", null); } map.put ("brxm", customer.getCusName ()); - map.put ("brxb", customer.getCusSex ()); + Long cusSex = customer.getCusSex(); + if(cusSex==0L){ + map.put ("brxb",1); + }else if(cusSex==1L){ + map.put ("brxb",2); + }else { + map.put ("brxb",9); + } map.put ("csrq", DateUtil.format(customer.getCusBrithday(),"yyyy-MM-dd")); map.put ("brnl", customer.getAge ()); map.put ("brnldw", customer.getAgeUnit ()); - map.put ("addr", customer.getAddr ()); + map.put ("addr", customer.getCusAddr()); map.put ("gzdw", null); map.put ("dwdz", null); map.put ("lxr", customer.getCusName ()); @@ -204,7 +211,7 @@ Map<String, Object> map = new HashMap<> (); map.put ("his_registration_id", hisRegistrationId); map.put ("czybm", czybm); - map.put ("zflxbm", sqdh); + map.put ("sqdh", sqdh); String post = HttpClientUtils.sendPost (HIS_URL+"Outpindeltestapply", map); return AjaxResult.success ().put ("data", post); } @@ -238,7 +245,7 @@ Map<String, Object> map = new HashMap<> (); map.put ("his_registration_id", hisRegistrationId); map.put ("czybm", czybm); - map.put ("zflxbm", sqdh); + map.put ("sqdh", sqdh); String post = HttpClientUtils.sendPost (HIS_URL+"Outpindelexamapply", map); return AjaxResult.success ().put ("data", post); } @@ -269,7 +276,7 @@ Map<String, Object> map = new HashMap<> (); map.put ("his_registration_id", hisRegistrationId); map.put ("czybm", czybm); - map.put ("zflxbm", sqdh); + map.put ("sqdh", sqdh); String post = HttpClientUtils.sendPost (HIS_URL+"Outpindelmedapply", map); return AjaxResult.success ().put ("data", post); } @@ -300,7 +307,7 @@ Map<String, Object> map = new HashMap<> (); map.put ("his_registration_id", hisRegistrationId); map.put ("czybm", czybm); - map.put ("zflxbm", sqdh); + map.put ("sqdh", sqdh); String post = HttpClientUtils.sendPost (HIS_URL+"Outpintdelreatapply", map); return AjaxResult.success ().put ("data", post); } @@ -499,7 +506,6 @@ // map.put ("pationid", pationid); // map.put ("pagecount", pagecount); // map.put ("page", page); - String post = HttpClientUtils.sendPost (HIS_URL+"Getlabreportinfo", map); return AjaxResult.success ().put ("data", post); } @@ -662,6 +668,7 @@ return AjaxResult.success ().put ("data", post); } + // @ApiOperation(value = "2.4.3 鑾峰彇妫�楠岀粨鏋滆褰曚俊鎭�") public AjaxResult Getlabdetailinfo (Map<String ,Object> map) { String post = HttpClientUtils.sendPost (HIS_URL+"Getlabdetailinfo", map); return AjaxResult.success ().put ("data", post); -- Gitblit v1.8.0