|
|
|
@ -54,7 +54,7 @@ public class TopicServiceImpl implements TopicService { |
|
|
|
form.setPageSize(pageSize); |
|
|
|
Result<List<ProjectOfCreateTopicUserResultDTO>> result = govProjectOpenFeignClient.listProjectsByCreateTopicUserId(form); |
|
|
|
if (!result.success()) { |
|
|
|
throw new RenException(result.getCode(), result.getInternalMsg(), result.getMsg()); |
|
|
|
throw new RenException(result.getCode(), result.getInternalMsg(), result.getMsg(), RenException.MessageMode.CODE_INTERNAL_EXTERNAL); |
|
|
|
} |
|
|
|
|
|
|
|
List<ProjectOfCreateTopicUserResultDTO> projects = result.getData(); |
|
|
|
@ -84,7 +84,7 @@ public class TopicServiceImpl implements TopicService { |
|
|
|
form.setPageSize(pageSize); |
|
|
|
Result<List<com.epmet.resi.group.dto.topic.result.MyCreateTopicsResultDTO >> result = resiGroupOpenFeignClient.listMyCreateTopics(form); |
|
|
|
if (!result.success()) { |
|
|
|
throw new RenException(result.getCode(), result.getInternalMsg(), result.getMsg()); |
|
|
|
throw new RenException(result.getCode(), result.getInternalMsg(), result.getMsg(), RenException.MessageMode.CODE_INTERNAL_EXTERNAL); |
|
|
|
} |
|
|
|
List<com.epmet.resi.group.dto.topic.result.MyCreateTopicsResultDTO > topics = result.getData(); |
|
|
|
return ConvertUtils.sourceToTarget(topics, MyCreateTopicsResultDTO.class); |
|
|
|
|