|
@@ -388,7 +388,7 @@
|
|
|
left join user u on t0.uid=u.id
|
|
left join user u on t0.uid=u.id
|
|
|
where u.channel=0
|
|
where u.channel=0
|
|
|
<if test="type==0">
|
|
<if test="type==0">
|
|
|
- and datediff(now(),if(t0.lock_time < t1.last_follow_time,t1.last_follow_time,t1.t0.lock_time))>30
|
|
|
|
|
|
|
+ and datediff(now(),if(t0.lock_time < t1.last_follow_time,t1.last_follow_time,t0.lock_time))>30
|
|
|
</if>
|
|
</if>
|
|
|
<if test="type==1">
|
|
<if test="type==1">
|
|
|
and datediff(now(),t0.lock_time)>270
|
|
and datediff(now(),t0.lock_time)>270
|