@@ -53,6 +53,9 @@ public class UserTicketView {
@DbField("gr.cmt")
private Integer cmt;
+ @DbField("gr.is_vip")
+ private Boolean isVip;
+
@DbField("gdk.is_mirror")
private Boolean isMirror;
@@ -408,6 +408,7 @@
</foreach>
and gr.status in ('validity','outside')
and gr.cmt != 2
+ and gr.is_vip = 0
and (gr.expiry_time is null or gr.expiry_time > now() or (gdk.is_mirror and gr.expiry_time > DATE_ADD(now(),interval -7 day)))
<if test="goodsId != null">
and g.id = #{goodsId}