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

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

@@ -127,7 +127,7 @@
                cu.valid_end_time,
                c.is_renew,
                (case
-                    when cu.valid_end_time > now() then 'expired'
+                    when cu.valid_end_time < now() then 'expired'
                     when ca.status = 0 then 'invalid'
                     else cu.status end) as couponUserStatus,
                (case