| | |
| | | patMedOuthosp.setMainsuit(externalWZInfo.getNeiRong()); |
| | | } |
| | | } |
| | | patMedOuthosp.setCreateTime(new Date()); |
| | | patMedOuthosp.setUpdateTime(new Date()); |
| | | int i = patMedOuthospMapper.insertPatMedOuthosp(patMedOuthosp); |
| | | if (i > 0) { |
| | | return true; |
| | |
| | | } |
| | | |
| | | patArchive.setTelcode(externalInHospPatientInfo.getLianXiDH()); |
| | | if (StringUtils.isEmpty(externalInHospPatientInfo.getLianXiDH())) |
| | | if (StringUtils.isEmpty(patArchive.getTelcode())) |
| | | patArchive.setTelcode(externalInHospPatientInfo.getLianXiRDH()); |
| | | patArchive.setRelativetelcode(externalInHospPatientInfo.getLianXiRDH()); |
| | | patArchive.setGuid(externalInHospPatientInfo.getZuZhiJGID()); |
| | | if (ObjectUtils.isNotEmpty(externalInHospPatientLiaisonInfo)) |
| | | patArchive.setRelativetelcode(externalInHospPatientLiaisonInfo.getLianXiRDH()); |
| | | patArchive.setInhospno(externalInHospPatientInfo.getBingAnHao()); |
| | | patArchive.setIdcardtype(externalInHospPatientInfo.getZhengJianLXMC()); |
| | | patArchive.setUpdateTime(new Date()); |
| | |
| | | int i = 1; |
| | | if (CollectionUtils.isNotEmpty(patMedInhospList)) { |
| | | patMedInhosp.setUpdateTime(new Date()); |
| | | patMedInhosp.setInhospid(patMedInhospList.get(0).getInhospid()); |
| | | i = patMedInhospMapper.updatePatMedInhosp(patMedInhosp); |
| | | } else { |
| | | patMedInhosp.setCreateTime(new Date()); |
| | |
| | | return addMedicalTeam(dataMap); |
| | | case "JZ_ZY_RuKe": |
| | | log.error("入科的数据为:{}", type); |
| | | return addMedicalTeam(dataMap); |
| | | return addInDeptInfo(dataMap); |
| | | } |
| | | return true; |
| | | } |