From 1bbfc22504bb180aa381ba6c2f7451b8e386cca2 Mon Sep 17 00:00:00 2001 From: zjh <1084500556@qq.com> Date: 星期四, 30 五月 2024 08:37:27 +0800 Subject: [PATCH] zjh 2024/05/30-1 --- ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpintestapplyDto.java | 23 + ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpinmedicapplyDetilsDto.java | 30 ++ ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpintreatapplyDto.java | 22 + ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpinmedapplyDto.java | 19 + ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/TestregapplyDetailsMxDto.java | 13 ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisApiController.java | 555 ++++++++++++++++++++++++++++++++++++ ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpinexamapplyDto.java | 23 + ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/TestcostapplyDto.java | 30 ++ ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpintestapplyDetailsDto.java | 10 ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/TestregapplyDetailsDto.java | 12 ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpinmedicapplyDto.java | 22 + ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/TestregapplyDto.java | 31 ++ ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/ExamreportrecordinfoDto.java | 95 ++++++ 13 files changed, 883 insertions(+), 2 deletions(-) diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisApiController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisApiController.java index c469ff3..178c84e 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisApiController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisApiController.java @@ -7,8 +7,7 @@ import com.ltkj.common.utils.http.HttpUtils; import com.ltkj.hosp.domain.DictSsdm; import com.ltkj.hosp.domain.TjCustomer; -import com.ltkj.hosp.hisDto.OutpinimpapplyDto; -import com.ltkj.hosp.hisDto.OutpinregapplyDto; +import com.ltkj.hosp.hisDto.*; import com.ltkj.hosp.service.ITjCustomerService; import com.ltkj.web.wxUtils.HttpClientUtils; import io.swagger.annotations.Api; @@ -164,5 +163,557 @@ return AjaxResult.success(post); } + @PostMapping("/Outpintestapply") + @ApiOperation(value = "闂ㄨ瘖妫�楠岀敵璇�") + public AjaxResult Outpintestapply(@RequestBody OutpintestapplyDto dao) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",dao.getHisRegistrationId()); + map.put("sfzh",dao.getHisRegistrationId()); + map.put("sqysbm",dao.getSqysbm()); + map.put("mzksbm",dao.getMzksbm()); + map.put("sjrq",dao.getSjrq()); + map.put("czybm",dao.getCzybm()); + map.put("czyksbm",dao.getCzyksbm()); + map.put("sfjz",dao.getSfjz()); + map.put("details",dao.getDetails()); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + @PostMapping("/Outpindeltestapply") + @ApiOperation(value = "浣滃簾闂ㄨ瘖妫�楠岀敵璇�") + public AjaxResult Outpindeltestapply(@RequestParam @ApiParam(value = "灏辫瘖鍙� ID") String hisRegistrationId, + @ApiParam(value = "鎿嶄綔鍛�") @RequestParam String czybm, + @ApiParam(value = "鐢宠鍗曞彿") @RequestParam String sqdh) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",hisRegistrationId); + map.put("czybm",czybm); + map.put("zflxbm",sqdh); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + + @PostMapping("/Outpinexamapply") + @ApiOperation(value = "闂ㄨ瘖妫�鏌ョ敵璇�") + public AjaxResult Outpinexamapply(@RequestBody OutpinexamapplyDto dao) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",dao.getHisRegistrationId()); + map.put("sfzh",dao.getHisRegistrationId()); + map.put("sqysbm",dao.getSqysbm()); + map.put("mzksbm",dao.getMzksbm()); + map.put("sjrq",dao.getSjrq()); + map.put("czybm",dao.getCzybm()); + map.put("czyksbm",dao.getCzyksbm()); + map.put("lczz",dao.getLczz()); + map.put("lczd",dao.getLczd()); + map.put("jcms",dao.getJcms()); + map.put("jcbw",dao.getJcbw()); + map.put("sfjz",dao.getSfjz()); + map.put("details",dao.getDetails()); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + + @PostMapping("/Outpindelexamapply") + @ApiOperation(value = "浣滃簾闂ㄨ瘖妫�鏌ョ敵璇�") + public AjaxResult Outpindelexamapply(@RequestParam @ApiParam(value = "灏辫瘖鍙� ID") String hisRegistrationId, + @ApiParam(value = "鎿嶄綔鍛�") @RequestParam String czybm, + @ApiParam(value = "鐢宠鍗曞彿") @RequestParam String sqdh) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",hisRegistrationId); + map.put("czybm",czybm); + map.put("zflxbm",sqdh); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + + @PostMapping("/Outpinmedapply") + @ApiOperation(value = "闂ㄨ瘖鍖荤枟鍖诲槺鐢宠") + public AjaxResult Outpinmedapply(@RequestBody OutpinmedapplyDto dao) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",dao.getHisRegistrationId()); + map.put("sfzh",dao.getHisRegistrationId()); + map.put("sqysbm",dao.getSqysbm()); + map.put("mzksbm",dao.getMzksbm()); + map.put("sjrq",dao.getSjrq()); + map.put("czybm",dao.getCzybm()); + map.put("czyksbm",dao.getCzyksbm()); + map.put("bqsm",dao.getBqsm()); + map.put("sfjz",dao.getSfjz()); + map.put("details",dao.getDetails()); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + + @PostMapping("/Outpindelmedapply") + @ApiOperation(value = "浣滃簾闂ㄨ瘖鍖荤枟鍖诲槺鐢宠") + public AjaxResult Outpindelmedapply(@RequestParam @ApiParam(value = "灏辫瘖鍙� ID") String hisRegistrationId, + @ApiParam(value = "鎿嶄綔鍛�") @RequestParam String czybm, + @ApiParam(value = "鐢宠鍗曞彿") @RequestParam String sqdh) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",hisRegistrationId); + map.put("czybm",czybm); + map.put("zflxbm",sqdh); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + + @PostMapping("/Outpintreatapply") + @ApiOperation(value = "闂ㄨ瘖娌荤枟澶勭疆鐢宠") + public AjaxResult Outpintreatapply(@RequestBody OutpintreatapplyDto dao) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",dao.getHisRegistrationId()); + map.put("sfzh",dao.getHisRegistrationId()); + map.put("sqysbm",dao.getSqysbm()); + map.put("mzksbm",dao.getMzksbm()); + map.put("sjrq",dao.getSjrq()); + map.put("czybm",dao.getCzybm()); + map.put("czyksbm",dao.getCzyksbm()); + map.put("bqsm",dao.getBqsm()); + map.put("sfjz",dao.getSfjz()); + map.put("zlbz",dao.getZlbz()); + map.put("details",dao.getDetails()); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + @PostMapping("/Outpintdelreatapply") + @ApiOperation(value = "浣滃簾闂ㄨ瘖娌荤枟澶勭疆鐢宠") + public AjaxResult Outpintdelreatapply(@RequestParam @ApiParam(value = "灏辫瘖鍙� ID") String hisRegistrationId, + @ApiParam(value = "鎿嶄綔鍛�") @RequestParam String czybm, + @ApiParam(value = "鐢宠鍗曞彿") @RequestParam String sqdh) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",hisRegistrationId); + map.put("czybm",czybm); + map.put("zflxbm",sqdh); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + + @PostMapping("/Outpinmedicapply") + @ApiOperation(value = "闂ㄨ瘖鑽搧鐢宠") + public AjaxResult Outpinmedicapply(@RequestBody OutpinmedicapplyDto dao) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",dao.getHisRegistrationId()); + map.put("sfzh",dao.getHisRegistrationId()); + map.put("sqysbm",dao.getSqysbm()); + map.put("mzksbm",dao.getMzksbm()); + map.put("sjrq",dao.getSjrq()); + map.put("czybm",dao.getCzybm()); + map.put("czyksbm",dao.getCzyksbm()); + map.put("cflxbm",dao.getCflxbm()); + map.put("yfbm",dao.getYfbm()); + map.put("fyts",dao.getFyts()); + map.put("mzzd",dao.getMzzd()); + map.put("details",dao.getDetails()); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + @PostMapping("/Outpindelmedicapply") + @ApiOperation(value = "浣滃簾闂ㄨ瘖鑽搧鐢宠") + public AjaxResult Outpindelmedicapply(@RequestParam @ApiParam(value = "灏辫瘖鍙� ID") String hisRegistrationId, + @ApiParam(value = "鎿嶄綔鍛�") @RequestParam String czybm, + @ApiParam(value = "鐢宠鍗曞彿") @RequestParam String sqdh) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",hisRegistrationId); + map.put("czybm",czybm); + map.put("zflxbm",sqdh); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + + @PostMapping("/Getexamapplyinfo") + @ApiOperation(value = "鑾峰彇妫�鏌ョ敵璇蜂俊鎭�") + public AjaxResult Getexamapplyinfo(@RequestParam @ApiParam(value = "灏辫瘖鍙� ID") String hisRegistrationId, + @ApiParam(value = "绉戝缂栫爜") @RequestParam String ksbm, + @ApiParam(value = "缁撴潫鏃ユ湡") @RequestParam Date jsrq, + @ApiParam(value = "寮�濮嬫棩鏈�") @RequestParam Date ksrq) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",hisRegistrationId); + map.put("ksbm",ksbm); + map.put("jsrq",jsrq); + map.put("ksrq",ksrq); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + + @PostMapping("/Getexamreportinfo") + @ApiOperation(value = "鑾峰彇妫�鏌ユ姤鍛婁俊鎭�") + public AjaxResult Getexamreportinfo(@RequestParam @ApiParam(value = "灏辫瘖鍙� ID") String hisRegistrationId, + @ApiParam(value = "绉戝鍚嶇О") @RequestParam String ksmc, + @ApiParam(value = "鎮h�� ID") @RequestParam String pationid, + @ApiParam(value = "缁撴潫鏃ユ湡") @RequestParam Date jsrq, + @ApiParam(value = "寮�濮嬫棩鏈�") @RequestParam Date ksrq, + @ApiParam(value = "椤靛ぇ灏忥紝鏈�灏� 10 琛�") @RequestParam(defaultValue = "10") Integer pagecount, + @ApiParam(value = "椤垫暟锛屾渶灏� 1 椤�") @RequestParam(defaultValue = "1") Integer page, + @ApiParam(value = "鐘舵�侊細宸茬櫥璁� 锛屽凡璇婃柇锛屽凡浣滃簾") @RequestParam String status, + @ApiParam(value = "鍗$被鍨� 5 灏辫瘖娴佹按鍙� 9 鐢靛瓙鍋ュ悍鍗� 娴佹按鍙� 榛樿 5") @RequestParam String cardtype) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",hisRegistrationId); + map.put("ksmc",ksmc); + map.put("jsrq",jsrq); + map.put("ksrq",ksrq); + map.put("pationid",pationid); + map.put("pagecount",pagecount); + map.put("page",page); + map.put("status",status); + map.put("cardtype",cardtype); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + @PostMapping("/Examreportrecordinfo") + @ApiOperation(value = "鏂板/淇敼妫�鏌ユ姤鍛婅褰�") + public AjaxResult Examreportrecordinfo(@RequestBody ExamreportrecordinfoDto dto) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",dto.getHisRegistrationId()); + map.put("jcbgid",dto.getJcbgid()); + map.put("sfjz",dto.getSfjz()); + map.put("pationid",dto.getPationid()); + map.put("mzzybz",dto.getMzzybz()); + map.put("brxm",dto.getBrxm()); + map.put("brxb",dto.getBrxb()); + map.put("brnl",dto.getBrnl()); + map.put("brnldw",dto.getBrnldw()); + map.put("lxrdh",dto.getLxrdh()); + map.put("hzksbm",dto.getHzksbm()); + map.put("sqdh",dto.getSqdh()); + map.put("sqjgdm",dto.getSqjgdm()); + map.put("sqsj",dto.getSqsj()); + map.put("sqrbm",dto.getSqrbm()); + map.put("sqrxm",dto.getSqrxm()); + map.put("hzzs",dto.getHzzs()); + map.put("hzbs",dto.getHzbs()); + map.put("xyzdbm",dto.getXyzdbm()); + map.put("xyzdmc",dto.getXyzdmc()); + map.put("zdrq",dto.getZdrq()); + map.put("fbrq",dto.getFbrq()); + map.put("tsjcbz",dto.getTsjcbz()); + map.put("jcxmdm",dto.getJcxmdm()); + map.put("jcxmmc",dto.getJcxmmc()); + map.put("jcjgdm",dto.getJcjgdm()); + map.put("jcjsbh",dto.getJcjsbh()); + map.put("jcjsxm",dto.getJcjsxm()); + map.put("jcrq",dto.getJcrq()); + map.put("jcbgdbh",dto.getJcbgdbh()); + map.put("jcff",dto.getJcff()); + map.put("jcksbh",dto.getJcksbh()); + map.put("jcksmc",dto.getJcksmc()); + map.put("yqbm",dto.getYqbm()); + map.put("jcbgbz",dto.getJcbgbz()); + map.put("jcbwdm",dto.getJcbwdm()); + map.put("bgksbh",dto.getBgksbh()); + map.put("bgksmc",dto.getBgksmc()); + map.put("bgrq",dto.getBgrq()); + map.put("bgysbh",dto.getBgysbh()); + map.put("bgysxm",dto.getBgysxm()); + map.put("shysbh",dto.getShysbh()); + map.put("shysxm",dto.getShysxm()); + map.put("jch",dto.getJch()); + map.put("yxh",dto.getYxh()); + map.put("kdsj",dto.getKdsj()); + map.put("jclx",dto.getJclx()); + map.put("yyh",dto.getYyh()); + map.put("yxbx",dto.getYxbx()); + map.put("yxzd",dto.getYxzd()); + map.put("sfyyx",dto.getSfyyx()); + map.put("yxzl",dto.getYxzl()); + map.put("yxs",dto.getYxs()); + map.put("jlysbh",dto.getJlysbh()); + map.put("jlrq",dto.getJlrq()); + map.put("bgzt",dto.getBgzt()); + map.put("lczdfh",dto.getLczdfh()); + map.put("wjz",dto.getWjz()); + map.put("wjzzdmc",dto.getWjzzdmc()); + map.put("wjzjcysyj",dto.getWjzjcysyj()); + map.put("wjzjcysbh",dto.getWjzjcysbh()); + map.put("wjzjcysxyj",dto.getWjzjcysyj()); + map.put("wjzqrrq",dto.getWjzqrrq()); + map.put("wjzjsrbh",dto.getWjzjsrbh()); + map.put("wjzjsrxm",dto.getWjzjsrxm()); + map.put("wjzjsrq",dto.getWjzjsrq()); + map.put("wjzclysbh",dto.getWjzclysbh()); + map.put("wjzclysxm",dto.getWjzclysxm()); + map.put("wjzclyj",dto.getWjzclyj()); + map.put("wjzclrq",dto.getWjzclrq()); + map.put("sfkf",dto.getSfkf()); + map.put("yzid",dto.getYzid()); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + @PostMapping("/Getexamurgentinfo") + @ApiOperation(value = "鑾峰彇妫�鏌ュ嵄鎬ュ�间俊鎭�") + public AjaxResult Getexamurgentinfo(@RequestParam @ApiParam(value = "灏辫瘖鍙� ID") String hisRegistrationId, + @ApiParam(value = "缁撴潫鏃ユ湡") @RequestParam Date jsrq, + @ApiParam(value = "寮�濮嬫棩鏈�") @RequestParam Date ksrq, + @ApiParam(value = "椤靛ぇ灏忥紝鏈�灏� 10 琛�") @RequestParam(defaultValue = "10") Integer pagecount, + @ApiParam(value = "椤垫暟锛屾渶灏� 1 椤�") @RequestParam(defaultValue = "1") Integer page) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",hisRegistrationId); + map.put("jsrq",jsrq); + map.put("ksrq",ksrq); + map.put("pagecount",pagecount); + map.put("page",page); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + + @PostMapping("/Getexamimageinfo") + @ApiOperation(value = "鑾峰彇妫�鏌ュ奖鍍忎俊鎭�") + public AjaxResult Getexamimageinfo(@RequestParam @ApiParam(value = "灏辫瘖鍙� ID") String hisRegistrationId, + @ApiParam(value = "缁撴潫鏃ユ湡") @RequestParam Date jsrq, + @ApiParam(value = "寮�濮嬫棩鏈�") @RequestParam Date ksrq, + @ApiParam(value = "椤靛ぇ灏忥紝鏈�灏� 10 琛�") @RequestParam(defaultValue = "10") Integer pagecount, + @ApiParam(value = "椤垫暟锛屾渶灏� 1 椤�") @RequestParam(defaultValue = "1") Integer page) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",hisRegistrationId); + map.put("jsrq",jsrq); + map.put("ksrq",ksrq); + map.put("pagecount",pagecount); + map.put("page",page); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + + @PostMapping("/Getlabapplyinfo") + @ApiOperation(value = "鑾峰彇妫�楠岀敵璇蜂俊鎭�") + public AjaxResult Getlabapplyinfo(@RequestParam @ApiParam(value = "灏辫瘖鍙� ID") String hisRegistrationId, + @ApiParam(value = "缁撴潫鏃ユ湡") @RequestParam Date jsrq, + @ApiParam(value = "寮�濮嬫棩鏈�") @RequestParam Date ksrq, + @ApiParam(value = "鍗$被鍨嬶紝 1 鐢靛瓙鍋ュ悍鍗� 2 韬唤璇� 3" + + "璇婄枟鍗� 4 鎮h�� ID 5 灏辫瘖娴佹按鍙� 榛樿" + + "4 鎮h�� ID") @RequestParam String cardtype, + @ApiParam(value = "涓氬姟绫诲瀷锛氶棬璇娿�佷綇闄€�佷綋妫�銆佸叾浠�") @RequestParam String mzorzy, + @ApiParam(value = "鐢宠绉戝") @RequestParam String ksbm) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",hisRegistrationId); + map.put("jsrq",jsrq); + map.put("ksrq",ksrq); + map.put("cardtype",cardtype); + map.put("mzorzy",mzorzy); + map.put("ksbm",ksbm); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + + @PostMapping("/Getlabreportinfo") + @ApiOperation(value = "鑾峰彇妫�楠屾姤鍛婅褰曚俊鎭�") + public AjaxResult Getlabreportinfo(@RequestParam @ApiParam(value = "灏辫瘖鍙� ID") String hisRegistrationId, + @ApiParam(value = "缁撴潫鏃ユ湡") @RequestParam Date jsrq, + @ApiParam(value = "寮�濮嬫棩鏈�") @RequestParam Date ksrq, + @ApiParam(value = "鐢宠绉戝") @RequestParam String ksbm, + @ApiParam(value = "鐢宠绉戝") @RequestParam String pationid, + @ApiParam(value = "椤靛ぇ灏忥紝鏈�灏� 10 琛�") @RequestParam(defaultValue = "10") Integer pagecount, + @ApiParam(value = "椤垫暟锛屾渶灏� 1 椤�") @RequestParam(defaultValue = "1") Integer page) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",hisRegistrationId); + map.put("jsrq",jsrq); + map.put("ksrq",ksrq); + map.put("ksbm",ksbm); + map.put("pationid",pationid); + map.put("pagecount",pagecount); + map.put("page",page); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + + + @PostMapping("/Getlabgermrepinfo") + @ApiOperation(value = "鑾峰彇寰敓鐗╂姤鍛婅褰曚俊鎭�") + public AjaxResult Getlabgermrepinfo(@RequestParam @ApiParam(value = "妫�楠屾姤鍛� ID") String jybgid) { + Map<String, Object> map = new HashMap<>(); + map.put("jybgid",jybgid); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + @PostMapping("/Getlabgermdetailinfo") + @ApiOperation(value = "鑾峰彇寰敓鐗╄嵂鏁忎俊鎭�") + public AjaxResult Getlabgermdetailinfo(@RequestParam @ApiParam(value = "妫�楠屾姤鍛� ID") String jybgid) { + Map<String, Object> map = new HashMap<>(); + map.put("jybgid",jybgid); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + + @PostMapping("/Getlaburgentinfo") + @ApiOperation(value = "鑾峰彇鍗辨�ュ�间俊鎭�") + public AjaxResult Getlaburgentinfo(@RequestParam @ApiParam(value = "妫�楠屾姤鍛� ID") String jybgid, + @ApiParam(value = "缁撴潫鏃ユ湡") @RequestParam Date jsrq, + @ApiParam(value = "寮�濮嬫棩鏈�") @RequestParam Date ksrq) { + Map<String, Object> map = new HashMap<>(); + map.put("jybgid",jybgid); + map.put("jsrq",jsrq); + map.put("ksrq",ksrq); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + + @PostMapping("/Labreportapply") + @ApiOperation(value = "妫�楠屾牱鏈嫆鏀惰褰�") + public AjaxResult Labreportapply(@RequestParam @ApiParam(value = "鏉$爜鍙�") String tmh, + @ApiParam(value = "鎺ユ敹浜哄憳浠g爜锛屽瓧鍏镐唬鐮�") @RequestParam String jsrydm, + @ApiParam(value = "鎷掓敹鎶ュ憡鏃ユ湡锛寉yyy-mm-dd hh:mm:ss") @RequestParam Date jsrq, + @ApiParam(value = "鎷掓敹鍘熷洜") @RequestParam String jsyy) { + Map<String, Object> map = new HashMap<>(); + map.put("tmh",tmh); + map.put("jsrydm",jsrydm); + map.put("jsrq",jsrq); + map.put("jsyy",jsyy); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + + @PostMapping("/Getlabreginfoinfo") + @ApiOperation(value = "鑾峰彇妫�楠岀櫥璁颁俊鎭�") + public AjaxResult Getlabreginfoinfo(@RequestParam @ApiParam(value = "灏辫瘖鍙� ID") String hisRegistrationId, + @ApiParam(value = "缁撴潫鏃ユ湡") @RequestParam Date jsrq, + @ApiParam(value = "寮�濮嬫棩鏈�") @RequestParam Date ksrq, + @ApiParam(value = "鐘舵�侊細 宸茬敵璇� 宸查噰鏍� 宸叉娴� 宸插" + + "鏍� 宸蹭綔搴�") @RequestParam String Status, + @ApiParam(value = "鎮h�� ID") @RequestParam String pationid, + @ApiParam(value = "椤靛ぇ灏忥紝鏈�灏� 10 琛�") @RequestParam(defaultValue = "10") Integer pagecount, + @ApiParam(value = "椤垫暟锛屾渶灏� 1 椤�") @RequestParam(defaultValue = "1") Integer page) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",hisRegistrationId); + map.put("Status",Status); + map.put("jsrq",jsrq); + map.put("ksrq",ksrq); + map.put("pationid",pationid); + map.put("pagecount",pagecount); + map.put("page",page); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + @PostMapping("/Testcostapply") + @ApiOperation(value = "浣撴璐圭敤鐢宠") + public AjaxResult Testcostapply(@RequestBody TestcostapplyDto dao) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",dao.getHisRegistrationId()); + map.put("czybm",dao.getCzybm()); + map.put("czyksbm",dao.getCzyksbm()); + map.put("brxm",dao.getBrxm()); + map.put("ywck",dao.getYwck()); + map.put("sfzh",dao.getSfzh()); + map.put("jkkkh",dao.getJkkkh()); + map.put("mindexId",dao.getMindexId()); + map.put("brxb",dao.getBrxb()); + map.put("csrq",dao.getCsrq()); + map.put("brnl",dao.getBrnl()); + map.put("brnldw",dao.getBrnldw()); + map.put("addr",dao.getAddr()); + map.put("lxrdh",dao.getLxrdh()); + map.put("mz",dao.getMz()); + map.put("zy",dao.getZy()); + map.put("details",dao.getDetails()); + map.put("mxfyxmbm",dao.getMxfyxmbm()); + map.put("sfzhfy",dao.getSfzhfy()); + map.put("sl",dao.getSl()); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + + @PostMapping("/Testregapply") + @ApiOperation(value = "鏂板鎴栦慨鏀逛綋妫�鐧昏淇℃伅") + public AjaxResult Testregapply(@RequestBody TestregapplyDto dao) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",dao.getHisRegistrationId()); + map.put("czybm",dao.getCzybm()); + map.put("czyksbm",dao.getCzyksbm()); + map.put("tjbh",dao.getTjbh()); + map.put("grbh",dao.getGrbh()); + map.put("sfzh",dao.getSfzh()); + map.put("xm",dao.getXm()); + map.put("xb",dao.getXb()); + map.put("nl",dao.getNl()); + map.put("csrq",dao.getCsrq()); + map.put("nldw",dao.getNldw()); + map.put("addr",dao.getAddr()); + map.put("sj",dao.getSj()); + map.put("dwbm",dao.getDwbm()); + map.put("tcbm",dao.getTcbm()); + map.put("details",dao.getDetails()); + map.put("je",dao.getJe()); + map.put("sjje",dao.getSjje()); + map.put("details_mx",dao.getDetailsMx()); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + + @PostMapping("/Getoutpatientcostinfo") + @ApiOperation(value = "鑾峰彇闂ㄨ瘖鎮h�呰垂鐢ㄦ竻鍗曚俊鎭�") + public AjaxResult Getoutpatientcostinfo(@RequestParam @ApiParam(value = "鍗$被鍨� 1 鐢靛瓙鍋ュ悍鍗� 2 韬唤璇� 3 璇�" + + "鐤楀崱 4 鎮h�� ID 5 灏辫瘖娴佹按鍙� 9 鐢靛瓙" + + "鍋ュ悍鍗℃祦姘村彿") String cardtype, + @ApiParam(value = "缁撴潫鏃ユ湡") @RequestParam Date jsrq, + @ApiParam(value = "寮�濮嬫棩鏈�") @RequestParam Date ksrq, + @ApiParam(value = "妫�绱㈢爜" + + "1 鐢靛瓙鍋ュ悍鍗★紝闀垮害>=64 2 韬唤璇侊紝闀垮害=18锛堟敞鍐岃韩浠借瘉鎴栧崱鍙疯韩浠借瘉鍙风爜锛�3 璇婄枟鍗★紝闀垮害=8 4 鎮h�� ID 5 灏辫瘖娴佹按鍙� " + + "9 鍋ュ悍鍗℃祦姘村彿锛堝缓妗e敮涓�鍙凤級闀垮害n" + + "14") @RequestParam String input, + @ApiParam(value = "椤靛ぇ灏忥紝鏈�灏� 10 琛�") @RequestParam(defaultValue = "10") Integer pagecount, + @ApiParam(value = "椤垫暟锛屾渶灏� 1 椤�") @RequestParam(defaultValue = "1") Integer page) { + Map<String, Object> map = new HashMap<>(); + map.put("cardtype",cardtype); + map.put("input",input); + map.put("jsrq",jsrq); + map.put("ksrq",ksrq); + map.put("pagecount",pagecount); + map.put("page",page); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + + @PostMapping("/Getoutaccountrecord") + @ApiOperation(value = "鑾峰彇闂ㄨ瘖缁撶畻璁板綍") + public AjaxResult Getoutaccountrecord(@RequestParam @ApiParam(value = "灏辫瘖鍙� ID") String hisRegistrationId, + @ApiParam(value = "缁撴潫鏃ユ湡") @RequestParam Date jsrq, + @ApiParam(value = "寮�濮嬫棩鏈�") @RequestParam Date ksrq, + @ApiParam(value = "椤靛ぇ灏忥紝鏈�灏� 10 琛�") @RequestParam(defaultValue = "10") Integer pagecount, + @ApiParam(value = "椤垫暟锛屾渶灏� 1 椤�") @RequestParam(defaultValue = "1") Integer page) { + Map<String, Object> map = new HashMap<>(); + map.put("his_registration_id",hisRegistrationId); + map.put("jsrq",jsrq); + map.put("ksrq",ksrq); + map.put("pagecount",pagecount); + map.put("page",page); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } + + + @PostMapping("/Getpatientalterregrecord") + @ApiOperation(value = "鑾峰彇鎮h�呮敞鍐屼俊鎭紙鍚彉鏇磋褰曪級") + public AjaxResult Getpatientalterregrecord(@RequestParam @ApiParam(value = "灏辫瘖鍙� ID") String mzzybz, + @ApiParam(value = "缁撴潫鏃ユ湡") @RequestParam Date jsrq, + @ApiParam(value = "寮�濮嬫棩鏈�") @RequestParam Date ksrq) { + Map<String, Object> map = new HashMap<>(); + map.put("mzzybz",mzzybz); + map.put("jsrq",jsrq); + map.put("ksrq",ksrq); + String post = HttpClientUtils.sendPost(HIS_URL, map); + return AjaxResult.success(post); + } } diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/ExamreportrecordinfoDto.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/ExamreportrecordinfoDto.java new file mode 100644 index 0000000..07ae35f --- /dev/null +++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/ExamreportrecordinfoDto.java @@ -0,0 +1,95 @@ +package com.ltkj.hosp.hisDto; + +import com.fasterxml.jackson.annotation.JsonFormat; +import lombok.Data; + +import java.util.Date; + +@Data +public class ExamreportrecordinfoDto { + private String hisRegistrationId; + private String jcbgid; + private String sfjz; + private String pationid; + private String mzzybz; + private String brxm; + private String brxb; + private Integer brnl; + private String brnldw; + private String lxrdh; + private String hzksbm; + private String sqdh; + private String sqjgdm; + private String sqjgmc; + private String sqksbm; + @JsonFormat(pattern = "yyyy-mm-dd hh:mm:ss") + private Date sqsj; + private String sqrbm; + private String sqrxm; + private String hzzs; + private String hzbs; + private String xyzdbm; + private String xyzdmc; + @JsonFormat(pattern = "yyyy-mm-dd hh:mm:ss") + private Date zdrq; + @JsonFormat(pattern = "yyyy-mm-dd hh:mm:ss") + private Date fbrq; + private String tsjcbz; + private String jcxmdm; + private String jcxmmc; + private String jcjgdm; + private String jcjsbh; + private String jcjsxm; + @JsonFormat(pattern = "yyyy-mm-dd hh:mm:ss") + private Date jcrq; + private String jcbgdbh; + private String jcff; + private String jcksbh; + private String jcksmc; + private String yqbm; + private String jcbgbz; + private String jcbwdm; + private String jcbw; + private String bgksbh; + private String bgksmc; + @JsonFormat(pattern = "yyyy-mm-dd hh:mm:ss") + private Date bgrq; + private String bgysbh; + private String bgysxm; + private String shysbh; + private String shysxm; + private String jch; + private String yxh; + @JsonFormat(pattern = "yyyy-mm-dd hh:mm:ss") + private Date kdsj; + private String jclx; + private String yyh; + private String yxbx; + private String yxzd; + private String sfyyx; + private String yxzl; + private String yxs; + private String jlysbh; + @JsonFormat(pattern = "yyyy-mm-dd hh:mm:ss") + private Date jlrq; + private String bgzt; + private String lczdfh; + private String wjz; + private String wjzzdmc; + private String wjzjcysyj; + private String wjzjcysbh; + private String wjzjcysxm; + @JsonFormat(pattern = "yyyy-mm-dd hh:mm:ss") + private Date wjzqrrq; + private String wjzjsrbh; + private String wjzjsrxm; + @JsonFormat(pattern = "yyyy-mm-dd hh:mm:ss") + private Date wjzjsrq; + private String wjzclysbh; + private String wjzclysxm; + private String wjzclyj; + @JsonFormat(pattern = "yyyy-mm-dd hh:mm:ss") + private Date wjzclrq; + private String sfkf; + private String yzid; +} diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpinexamapplyDto.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpinexamapplyDto.java new file mode 100644 index 0000000..eb672b8 --- /dev/null +++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpinexamapplyDto.java @@ -0,0 +1,23 @@ +package com.ltkj.hosp.hisDto; + + +import lombok.Data; + +import java.util.List; + +@Data +public class OutpinexamapplyDto { + private String hisRegistrationId; + private String sfzh; + private String sqysbm; + private String mzksbm; + private String sjrq; + private String czybm; + private String czyksbm; + private String lczz; + private String lczd; + private String jcms; + private String jcbw; + private String sfjz; + private List<OutpintestapplyDetailsDto> details; +} diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpinmedapplyDto.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpinmedapplyDto.java new file mode 100644 index 0000000..2c6a95c --- /dev/null +++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpinmedapplyDto.java @@ -0,0 +1,19 @@ +package com.ltkj.hosp.hisDto; + +import lombok.Data; + +import java.util.List; + +@Data +public class OutpinmedapplyDto { + private String hisRegistrationId; + private String sfzh; + private String sqysbm; + private String mzksbm; + private String sjrq; + private String czybm; + private String czyksbm; + private String bqsm; + private String sfjz; + private List<OutpintestapplyDetailsDto> details; +} diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpinmedicapplyDetilsDto.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpinmedicapplyDetilsDto.java new file mode 100644 index 0000000..5139a63 --- /dev/null +++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpinmedicapplyDetilsDto.java @@ -0,0 +1,30 @@ +package com.ltkj.hosp.hisDto; + + +import lombok.Data; + +@Data +public class OutpinmedicapplyDetilsDto { + + private String ypbm; + private String pcbm; + private Integer zh; + private Integer dcjl; + private String jldw; + private String tjbm; + private String ps; + private String psbm; + private Integer sl; + private Integer yyts; + private Integer pj; + private Integer jj; + private Integer dj; + private String xtph; + private String scph; + private String ypxq; + private String cdbm; + private String kfdw; + private String yfdw; + private String yysm; + private Integer fzbl; +} diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpinmedicapplyDto.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpinmedicapplyDto.java new file mode 100644 index 0000000..e6e0743 --- /dev/null +++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpinmedicapplyDto.java @@ -0,0 +1,22 @@ +package com.ltkj.hosp.hisDto; + + +import lombok.Data; + +import java.util.List; + +@Data +public class OutpinmedicapplyDto { + private String hisRegistrationId; + private String sfzh; + private String sqysbm; + private String mzksbm; + private String sjrq; + private String czybm; + private String czyksbm; + private String cflxbm; + private String yfbm; + private String fyts; + private String mzzd; + private List<OutpinmedicapplyDetilsDto> details; +} diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpintestapplyDetailsDto.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpintestapplyDetailsDto.java new file mode 100644 index 0000000..422b4d2 --- /dev/null +++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpintestapplyDetailsDto.java @@ -0,0 +1,10 @@ +package com.ltkj.hosp.hisDto; + +import lombok.Data; + +@Data +public class OutpintestapplyDetailsDto { + private String mxfyxmbm; + private String sfzhfy; + private Integer sl; +} diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpintestapplyDto.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpintestapplyDto.java new file mode 100644 index 0000000..77f6143 --- /dev/null +++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpintestapplyDto.java @@ -0,0 +1,23 @@ +package com.ltkj.hosp.hisDto; + + +import com.fasterxml.jackson.annotation.JsonFormat; +import lombok.Data; + +import java.util.Date; +import java.util.List; + +@Data +public class OutpintestapplyDto { + + private String hisRegistrationId; + private String sfzh; + private String sqysbm; + private String mzksbm; + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date sjrq; + private String czybm; + private String czyksbm; + private String sfjz; + private List<OutpintestapplyDetailsDto> details; +} diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpintreatapplyDto.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpintreatapplyDto.java new file mode 100644 index 0000000..5e3512b --- /dev/null +++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/OutpintreatapplyDto.java @@ -0,0 +1,22 @@ +package com.ltkj.hosp.hisDto; + +import lombok.Data; + +import java.util.List; + +@Data +public class OutpintreatapplyDto { + + private String hisRegistrationId; + private String sfzh; + private String sqysbm; + private String mzksbm; + private String sjrq; + private String czybm; + private String czyksbm; + private String bqsm; + private String sfjz; + private String zlbz; + private List<OutpintestapplyDetailsDto> details; + +} diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/TestcostapplyDto.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/TestcostapplyDto.java new file mode 100644 index 0000000..bbfe1fe --- /dev/null +++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/TestcostapplyDto.java @@ -0,0 +1,30 @@ +package com.ltkj.hosp.hisDto; + + +import lombok.Data; + +@Data +public class TestcostapplyDto { + + private String hisRegistrationId; + private String czybm; + private String czyksbm; + private String brxm; + private String ywck; + private String sfzh; + private String jkkkh; + private String mindexId; + private String brxb; + private String csrq; + private String brnl; + private String brnldw; + private String addr; + private String lxrdh; + private String mz; + private String zy; + private String details; + private String mxfyxmbm; + private String sfzhfy; + private String sl; + +} diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/TestregapplyDetailsDto.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/TestregapplyDetailsDto.java new file mode 100644 index 0000000..c8bae82 --- /dev/null +++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/TestregapplyDetailsDto.java @@ -0,0 +1,12 @@ +package com.ltkj.hosp.hisDto; + +import lombok.Data; + +@Data +public class TestregapplyDetailsDto { + + private String zhbm; + private String dj; + private String cqxm; + private String jcbw; +} diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/TestregapplyDetailsMxDto.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/TestregapplyDetailsMxDto.java new file mode 100644 index 0000000..7d720f0 --- /dev/null +++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/TestregapplyDetailsMxDto.java @@ -0,0 +1,13 @@ +package com.ltkj.hosp.hisDto; + +import lombok.Data; + +@Data +public class TestregapplyDetailsMxDto { + + private String zhbm; + private String xmbm; + private String ckzxx; + private String ckzsx; + private String jybz; +} diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/TestregapplyDto.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/TestregapplyDto.java new file mode 100644 index 0000000..b87f395 --- /dev/null +++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/hisDto/TestregapplyDto.java @@ -0,0 +1,31 @@ +package com.ltkj.hosp.hisDto; + + +import lombok.Data; + +@Data +public class TestregapplyDto { + + private String hisRegistrationId; + private String tjbh; + private String grbh; + private String czybm; + private String czyksbm; + private String xm; + private String xb; + private String nl; + private String nldw; + private String csrq; + private String sfzh; + private String addr; + private String sj; + private String dwbm; + private String tcbm; + private String je; + private String sjje; + private TestregapplyDetailsDto details; + + private TestregapplyDetailsMxDto detailsMx; + + +} -- Gitblit v1.8.0