| | |
| | | String createTimeStr = DateUtils.dateToDateString(createTime, "yyyy-MM-dd"); |
| | | String exipreTimeStr = DateUtils.dateToDateString(expireTime, "yyyy-MM-dd"); |
| | | |
| | | |
| | | vo.setId(organization.getId()); |
| | | vo.setName(organization.getName()); |
| | | if (!ObjectUtils.isEmpty(parentOrganization)) |
| | | vo.setParentName(parentOrganization.getName()); |
| | |
| | | vo.setAddress(organization.getAddress()); |
| | | vo.setCreateTime(createTimeStr); |
| | | vo.setExpireTime(exipreTimeStr); |
| | | vo.setLocationLevelCode(organization.getLocationLevelCode()); |
| | | vo.setLocationLevelName(organization.getLocationLevelName()); |
| | | return vo; |
| | | } |
| | | } |