Ver Fonte

fix 小于

zoujiajian há 3 anos atrás
pai
commit
ef141e6560

+ 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