|  |  | 
 |  |  |         if (dto.getCode() != ResponseCodeEnum.SUCCESS.getCode()) | 
 |  |  |             return null; | 
 |  |  |         OrganizationQueryVO vo = new OrganizationQueryVO(); | 
 |  |  |         long page = dto.getPage(); | 
 |  |  |         long pages = dto.getPages(); | 
 |  |  |         long total = dto.getTotal(); | 
 |  |  |         long current = dto.getCurrent(); | 
 |  |  |         long size = dto.getSize(); | 
 |  |  | 
 |  |  |  | 
 |  |  |         vo.setCurrent(current); | 
 |  |  |         vo.setOrganizations(organizationVOS); | 
 |  |  |         vo.setPages(page); | 
 |  |  |         vo.setPages(pages); | 
 |  |  |         vo.setSize(size); | 
 |  |  |         vo.setTotal(total); | 
 |  |  |         return vo; | 
 |  |  | 
 |  |  |         OrganizationVO vo = new OrganizationVO(); | 
 |  |  |         Organization organization = dto.getOrganization(); | 
 |  |  |         Organization parentOrganization = dto.getParentOrganization(); | 
 |  |  |         User adminUser = dto.getAdminUser(); | 
 |  |  |         Date createTime = organization.getCreateTime(); | 
 |  |  |         Date expireTime = organization.getExpireTime(); | 
 |  |  |         String createTimeStr = DateUtils.dateToDateString(createTime, "yyyy-MM-dd"); | 
 |  |  | 
 |  |  |         vo.setLocationLevelCode(organization.getLocationLevelCode()); | 
 |  |  |         vo.setLocationLevelName(organization.getLocationLevelName()); | 
 |  |  |         //封装组织admin账号信息 | 
 |  |  |         User adminUser = dto.getAdminUser(); | 
 |  |  |         if (!ObjectUtils.isEmpty(adminUser)) { | 
 |  |  |             UserVO adminUserVO = new UserVO(); | 
 |  |  |             String adminUserCreateTimeStr = DateUtils.dateToDateString(adminUser.getCreateTime(), "yyyy-MM-dd"); | 
 |  |  | 
 |  |  |             adminUserVO.setCreateTime(adminUserCreateTimeStr); | 
 |  |  |             adminUserVO.setUserName(adminUser.getUserName()); | 
 |  |  |             adminUserVO.setOrganizationName(organization.getName()); | 
 |  |  |             vo.setAdminUserAccount(adminUser.getAccount()); | 
 |  |  |             vo.setAdminUser(adminUserVO); | 
 |  |  |         }else{ | 
 |  |  |             vo.setAdminUser(new UserVO()); |