zoujiajian 3 년 전
부모
커밋
e3f112686d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      netflix-dao/src/main/resources/mapper/CouponUserMapper.xml

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

@@ -140,7 +140,7 @@
                     when cu.status = 'used' then 4
                     when cu.valid_end_time < now() then 2
                     when ca.id is not null and ca.status = 0 then 3
-                    when cu.valid_start_time < now() then 1
+                    when cu.valid_start_time > now() then 1
                     when cu.status = 'unused' then 0
                    end)                 as orderby
         from `coupon_user` cu