class xxDTO {
private Long id;
private Set industryIds;
private Set labelIds;
}
select xx.ID,a.IndustryID,b.LableID from xx left join a on .. left join b on ..

class xxDTO {
private Long id;
private Set industryIds;
private Set labelIds;
}
select xx.ID,a.IndustryID,b.LableID from xx left join a on .. left join b on ..