| | |
| | | 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())){ |