|
|
@@ -315,6 +315,7 @@ public class DeclaredProjectManage { |
|
|
|
List<ProjectDraftVO> res = page.getRecords().stream().map(record -> { |
|
|
|
ProjectDraftVO vo = new ProjectDraftVO(); |
|
|
|
BeanUtils.copyProperties(record, vo); |
|
|
|
vo.setBizDomain(Objects.nonNull(record.getBizDomain()) ? String.valueOf(record.getBizDomain()) : StringUtils.EMPTY); |
|
|
|
return vo; |
|
|
|
}).collect(Collectors.toList()); |
|
|
|
return PageVo.of(res, page.getTotal()); |
|
|
@@ -324,6 +325,7 @@ public class DeclaredProjectManage { |
|
|
|
ProjectDraft draft = projectDraftService.getById(id); |
|
|
|
ProjectDraftVO vo = new ProjectDraftVO(); |
|
|
|
BeanUtils.copyProperties(draft, vo); |
|
|
|
vo.setBizDomain(Objects.nonNull(draft.getBizDomain()) ? String.valueOf(draft.getBizDomain()) : StringUtils.EMPTY); |
|
|
|
if(StringUtils.isNotBlank(draft.getProjectApplicationList())){ |
|
|
|
vo.setApplicationList(JSON.parseArray(draft.getProjectApplicationList(),ProjectApplication.class)); |
|
|
|
} |
|
|
|