You've already forked FrameTour-BE
1、清理功能修复;2、device在线状态放redis;3、viid传入时重查redis缓存,避免关闭的设备传入素材
This commit is contained in:
@ -71,13 +71,13 @@
|
||||
IFNULL(count(1), 0) AS count
|
||||
FROM (
|
||||
select count(1) as count
|
||||
from `order`
|
||||
where scenic_id = #{scenicId} and pay_at is not null
|
||||
from `statistics`
|
||||
where scenic_id = #{scenicId} and type in (3,4)
|
||||
<if test="startTime!= null">
|
||||
and create_at >= #{startTime}
|
||||
and create_time >= #{startTime}
|
||||
</if>
|
||||
<if test="endTime!= null">
|
||||
and create_at <= #{endTime}
|
||||
and create_time <= #{endTime}
|
||||
</if>
|
||||
group by member_id
|
||||
)a
|
||||
|
Reference in New Issue
Block a user