use of com.dtstack.taier.develop.dto.devlop.BatchResourceVO in project Taier by DTStack.
the class BatchResourceService method getResourceById.
/**
* 获取资源详情
*/
public BatchResourceVO getResourceById(long resourceId) {
BatchResource batchResource = this.getResource(resourceId);
if (Objects.nonNull(batchResource)) {
BatchResourceVO vo = BatchResourceVO.toVO(batchResource);
vo.setCreateUser(userService.getById(batchResource.getCreateUserId()));
// 是否是该项目成员
return vo;
}
return null;
}
Aggregations