|
|
@@ -366,7 +366,7 @@
|
|
|
left join
|
|
|
(select uid,aid,max(create_time) as last_follow_time from user_follow where aid = #{aid} group by uid)t1
|
|
|
on t0.uid = t1.uid
|
|
|
- where datediff(ifnull(t1.last_follow_time,now()),t0.lock_time)>30 or datediff(now(),t0.lock_time)>270
|
|
|
+ where datediff(now(),ifnull(t1.last_follow_time,t1.t0.lock_time))>30 or datediff(now(),t0.lock_time)>270
|
|
|
</select>
|
|
|
|
|
|
<select id="selectWaitReleaseBusiness" resultType="com.goafanti.customer.bo.LockingReleaseBo">
|