zoujiajian 3 년 전
부모
커밋
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`