zoujiajian 3 лет назад
Родитель
Сommit
fe92e1b358
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      netflix-dao/src/main/resources/mapper/CouponRecommendMapper.xml

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

@@ -30,7 +30,6 @@
         from coupon_recommend cr left join coupon c on c.id = cr.coupon_id
         left join coupon_user cu on cu.coupon_id = c.id and cu.user_id = #{userId}
         where cr.deleted is true and c.deleted is true and cr.status = 1
-        and cu.id is null
         <if test='!isNewUser'>
             and c.scope !='newUser'
         </if>)s where couponStatus != 'used' and flag is true order by `order`