| | |
| | | for (ExperimentInfoAppQueryDTO experimentInfoAppQueryDTO:experimentInfoAppQueryDTOList){ |
| | | ExperimentInfoRespDTO experimentInfoRespDTO = new ExperimentInfoRespDTO(); |
| | | BeanUtils.copyProperties(experimentInfoAppQueryDTO,experimentInfoRespDTO); |
| | | //实验类型 |
| | | List<ExperimentAndTypeRespDTO> typeRespDTOs = new ArrayList<>(); |
| | | if(!ObjectUtils.isEmpty(experimentInfoAppQueryDTO.getTypes())){ |
| | | typeRespDTOs = BeanCopyUtils.copyBeanList(experimentInfoAppQueryDTO.getTypes(),ExperimentAndTypeRespDTO.class); |
| | | } |
| | | experimentInfoRespDTO.setTypeList(typeRespDTOs); |
| | | //实验场所 |
| | | List<ExperimentAndSiteRespDTO> siteRespDTOs = new ArrayList<>(); |
| | | if(!ObjectUtils.isEmpty(experimentInfoAppQueryDTO.getSites())){ |