diff --git a/bigtop-manager-dao/src/main/resources/mapper/mysql/HostMapper.xml b/bigtop-manager-dao/src/main/resources/mapper/mysql/HostMapper.xml index f7553033..17bd3826 100644 --- a/bigtop-manager-dao/src/main/resources/mapper/mysql/HostMapper.xml +++ b/bigtop-manager-dao/src/main/resources/mapper/mysql/HostMapper.xml @@ -94,9 +94,7 @@ ,clus.display_name as cluster_name - from - host h - inner join + from host h left join cluster clus on h.cluster_id = clus.id where h.cluster_id = #{clusterId}