zoujiajian 3 vuotta sitten
vanhempi
sitoutus
bfa6cfe9f3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      netflix-dao/src/main/resources/mapper/AccountMapper.xml

+ 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