zoujiajian %!s(int64=3) %!d(string=hai) anos
pai
achega
bfa6cfe9f3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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