zoujiajian 3 anos atrás
pai
commit
bfa6cfe9f3

+ 1 - 1
netflix-dao/src/main/resources/mapper/AccountMapper.xml

@@ -190,7 +190,7 @@
                     where ur.deleted is true
                     group by ur.account_id, ur.relation_id) s
               group by s.account_id) s
-                 left join account a on a.id = s.account_id
+                 inner join account a on a.id = s.account_id
                  left join groups_trips gt on gt.account_id = s.account_id
                  left join goods_don g on g.id = a.goods_id
         where s.num >= gt.num