From 137d43849b5bc53cc6b0716504a7286ff4ab1fcb Mon Sep 17 00:00:00 2001 From: Zhiguo Wu Date: Wed, 18 Dec 2024 17:45:05 +0800 Subject: [PATCH] sql --- .../src/main/resources/mapper/mysql/HostMapper.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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}