| | |
| | | Map yeWuXX = (Map) dataMap.get("YeWuXX"); |
| | | Map<String, Object> BingRenXX = ObjectUtils.isNotEmpty(yeWuXX) ? (Map<String, Object>) yeWuXX.get("BingRenXX") : null; |
| | | ExternalInHospPatientInfo externalInHospPatientInfo = BeanUtil.mapToBean(BingRenXX, ExternalInHospPatientInfo.class, true); |
| | | |
| | | PatArchive patArchive = addPatArchive(externalInHospPatientInfo, null, null); |
| | | |
| | | |
| | |
| | | patMedOperation.setPatid(patArchive.getId()); |
| | | patMedOperation.setPatcode(externalInHospPatientInfo.getBingRenID()); |
| | | patMedOperation.setPaname(externalInHospPatientInfo.getXingMing()); |
| | | patMedOperation.setLeaveldeptcode(externalInHospPatientInfo.getDangQianKSID()); |
| | | patMedOperation.setLeaveldeptname(externalInHospPatientInfo.getDangQianKSMC()); |
| | | patMedOperation.setLeavehospitaldistrictcode(externalInHospPatientInfo.getDangQianBQID()); |
| | | patMedOperation.setLeavehospitaldistrictname(externalInHospPatientInfo.getDangQianBQMC()); |
| | | patMedOperation.setOpreqcode(externalOperationInfo.getShenQingDID()); |
| | | //查询一下,该患者是否已经有这些数据 |
| | | List<PatMedOperation> patMedOperations = patMedOperationMapper.selectPatMedOperationList(patMedOperation); |
| | |
| | | //丽水无院区,默认值是 1 |
| | | patMedOperation.setCampusid("1"); |
| | | patMedOperation.setSerialnum(externalInHospPatientInfo.getJiuZhenYWID()); |
| | | patMedOperation.setInhospstate(externalInHospPatientInfo.getBingRenLXDM()); |
| | | patMedOperation.setInhospno(externalInHospPatientInfo.getBingAnHao()); |
| | | patMedOperation.setHospitalname(externalInHospPatientInfo.getZuZhiJGMC()); |
| | | patMedOperation.setHospitalcode(externalInHospPatientInfo.getZuZhiJGID()); |
| | |
| | | patMedOperationItem.setOpposition(externalOperationDetail.getShouShuBW()); |
| | | patMedOperationItem.setDelFlag("0"); |
| | | patMedOperationItem.setOrgid(patMedOperation.getOrgid()); |
| | | patMedOperationItem.setInhospstate(patMedOperation.getInhospstate()); |
| | | patMedOperationItem.setSerialnum(patMedOperation.getSerialnum()); |
| | | //丽水无院区,默认值是 1 |
| | | patMedOperationItem.setCampusid("1"); |
| | | if (externalOperationDetail.getZhuShouSBZ().equals("1") && addMianTableFalg == true) { |