heheng
2025-05-23 761bdc5b3f17df62aae1b424f2d2dabc11e844bc
src/main/java/com/gkhy/labRiskManage/application/experiment/service/impl/ExperimentAppServiceImpl.java
@@ -314,6 +314,7 @@
            if (!ObjectUtils.isEmpty(byExperimentId)){
                experimentInfo.setAssessLevel(byExperimentId.getAssessLevel());
                experimentInfo.setAssessTime(byExperimentId.getAssessTime());
                experimentInfo.setReportId(byExperimentId.getId());
            }
            List<ExperimentAndTypeDTO> types = experimentInfo.getTypes();
            if (!CollectionUtils.isEmpty(types)){
@@ -487,12 +488,12 @@
            for (ExperimentInfoDTO experimentInfoDTO:experimentInfoDTOS){
                ExperimentInfoAppQueryDTO experimentInfoAppQueryDTO = new ExperimentInfoAppQueryDTO();
                BeanUtils.copyProperties(experimentInfoDTO,experimentInfoAppQueryDTO);
                //实验场所
                List<ExperimentAndSiteAppQueryDTO> siteAppQueryDTOs = new ArrayList<>();
                if(!ObjectUtils.isEmpty(experimentInfoDTO.getSites())){
                    siteAppQueryDTOs = BeanCopyUtils.copyBeanList(experimentInfoDTO.getSites(),ExperimentAndSiteAppQueryDTO.class);
                }
                experimentInfoAppQueryDTO.setSites(siteAppQueryDTOs);
//                //实验场所
//                List<ExperimentAndSiteAppQueryDTO> siteAppQueryDTOs = new ArrayList<>();
//                if(!ObjectUtils.isEmpty(experimentInfoDTO.getSites())){
//                    siteAppQueryDTOs = BeanCopyUtils.copyBeanList(experimentInfoDTO.getSites(),ExperimentAndSiteAppQueryDTO.class);
//                }
//                experimentInfoAppQueryDTO.setSites(siteAppQueryDTOs);
                //人员
                List<ExperimentAndPersonAppQueryDTO> personAppQueryDTOList = new ArrayList<>();
                if(!ObjectUtils.isEmpty(experimentInfoDTO.getPersons())){