This commit is contained in:
lijiahang
2024-01-24 11:08:32 +08:00
parent 914359505e
commit 49931ba227
16 changed files with 48 additions and 187 deletions

View File

@@ -146,12 +146,8 @@ public class HostServiceImpl implements HostService {
Valid.notNull(record, ErrorMessage.HOST_ABSENT);
// 转换
HostVO vo = HostConvert.MAPPER.to(record);
// 设置 tag 信息
List<TagDTO> tags = tagFuture.get();
// 设置分组信息
vo.setTags(tags);
Set<Long> groupIdList = groupIdFuture.get();
vo.setGroupIdList(groupIdList);
vo.setTags(tagFuture.get());
vo.setGroupIdList(groupIdFuture.get());
return vo;
}