Commit ebef896e88fd4190dd7973cb96a154f5b71d72e3

Authored by liquanyu
1 parent c55ec56452

聊城分娩

Showing 2 changed files with 24 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/TestController.java View file @ ebef896
... ... @@ -1775,5 +1775,27 @@
1775 1775 }
1776 1776 return "handleSieveTime .....";
1777 1777 }
  1778 +
  1779 + @RequestMapping(value="/his/getLcdcfyByZyhHis")
  1780 + @ResponseBody
  1781 + public Map<String,Object> getLcdcfyByZyhHis(@RequestParam("zyNo")String zyNo){
  1782 + List<Map> list = new ArrayList<>();
  1783 + Map<String,String> data = new HashMap<>();
  1784 + data.put("vcCardNo","4352345");
  1785 + data.put("name","张三");
  1786 + data.put("sex","女");
  1787 + data.put("birthday","2001-01-01");
  1788 + data.put("bhnum","54345");
  1789 + data.put("phone","15622222222");
  1790 + data.put("idCard","510106200101010807");
  1791 + data.put("addr","四川省成都市武侯区");
  1792 + list.add(data);
  1793 + Map<String, Object> map = new HashMap<String, Object>();
  1794 + map.put("hisPatient", list);
  1795 + return map;
  1796 + }
  1797 +
  1798 +
  1799 +
1778 1800 }
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java View file @ ebef896
... ... @@ -861,8 +861,8 @@
861 861 LcdcfHisModel lcdcfHisModel = null;
862 862  
863 863 //聊城东昌府分娩界面通过住院号从his中查询到孕妇的身份号码,然后用身份证号码作为院内系统的查询条件查询孕妇信息
864   - //if ("2100001305".equals(hospital) && StringUtils.isNotEmpty(deliverQueryRequest.getZhuYuanNo())) {
865   - if ("1000000116".equals(hospital) && StringUtils.isNotEmpty(deliverQueryRequest.getZhuYuanNo())) {
  864 + if ("2100001305".equals(hospital) && StringUtils.isNotEmpty(deliverQueryRequest.getZhuYuanNo())) {
  865 + //if ("1000000116".equals(hospital) && StringUtils.isNotEmpty(deliverQueryRequest.getZhuYuanNo())) {
866 866 lcdcfHisModel = lcdcfHisService.getHisPatientByZyh(deliverQueryRequest.getZhuYuanNo());
867 867 if (lcdcfHisModel != null && StringUtils.isNotEmpty(lcdcfHisModel.getIdCard())) {
868 868 deliverQueryRequest.setCardNo(lcdcfHisModel.getIdCard());