From 8dfd35fb7c70018976bb6e414c06c9708cae3d4f Mon Sep 17 00:00:00 2001 From: 赵文轩 <1652863494@qq.com> Date: 星期一, 17 六月 2024 14:40:13 +0800 Subject: [PATCH] 测试pdf报告类 --- ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisApiMethodService.java | 28 +++++++++++++++++++++------- 1 files changed, 21 insertions(+), 7 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 7060a08..75e22f6 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 @@ -33,6 +33,7 @@ private static String HIS_URL = ""; // 鏁版嵁搴撻厤缃枃浠惰矾寰� +// private static final String CONFIG_PATH = "/Users/chacca/寮�鍙戠浉鍏�/浠g爜/ltkj_peis/ltkj-admin/src/main/resources/config.properties"; private static final String CONFIG_PATH = "D:\\ltkjprojectconf\\config.properties"; static { @@ -53,12 +54,19 @@ 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 ()); @@ -203,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); } @@ -237,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); } @@ -268,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); } @@ -299,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); } @@ -659,4 +667,10 @@ String post = HttpClientUtils.sendPost (HIS_URL+"Getpatientalterregrecord", map); 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