| | |
| | | |
| | | @Override |
| | | public Boolean addUserInfo(Map dataMap) { |
| | | log.error("ServiceExternalServiceImpl---addUserInfo的新增的值为:{}", dataMap); |
| | | log.info("ServiceExternalServiceImpl---addUserInfo的新增的值为:{}", dataMap); |
| | | Map yeWuXX = (Map) dataMap.get("YeWuXX"); |
| | | Map<String, Object> yongHuXX = (Map<String, Object>) yeWuXX.get("YongHuXX"); |
| | | ExternalUserInfo externalUserInfo = BeanUtil.mapToBean(yongHuXX, ExternalUserInfo.class, true); |
| | |
| | | PatArchive patArchive = addPatArchive(externalInHospPatientInfo, externalInHospPatientAddrInfo, externalInHospPatientLiaisonInfo); |
| | | |
| | | PatMedInspection patMedInspection = new PatMedInspection(); |
| | | patMedInspection.setProjecttype(1); |
| | | if(xiaoXiTou.get("XiaoXiLX").equals("JC_SQ_ShenQing") || xiaoXiTou.get("XiaoXiLX").equals("JC_SQ_XiuGai")){ |
| | | patMedInspection.setProjecttype(1); |
| | | }else if(xiaoXiTou.get("XiaoXiLX").equals("JY_SQ_ShenQing") || xiaoXiTou.get("XiaoXiLX").equals("JY_SQ_XiuGai")){ |
| | | patMedInspection.setProjecttype(0); |
| | | } |
| | | patMedInspection.setOrgid(externalInHospPatientInfo.getZuZhiJGID()); |
| | | patMedInspection.setInhospno(externalInHospPatientInfo.getBingAnHao()); |
| | | patMedInspection.setPatidHis(externalInHospPatientInfo.getBingRenID()); |