idle detail cleanup add created_time condition
This commit is contained in:
parent
2dcc09c384
commit
dcfd38c756
@ -41,6 +41,7 @@
|
|||||||
max(created_time) created_time,
|
max(created_time) created_time,
|
||||||
count(agent_id) cc
|
count(agent_id) cc
|
||||||
from br_agent_daily_idle_detail
|
from br_agent_daily_idle_detail
|
||||||
|
where <![CDATA[ created_time > date(now()) ]]>
|
||||||
group by agent_id, idle_start_time
|
group by agent_id, idle_start_time
|
||||||
having cc > 1) latest
|
having cc > 1) latest
|
||||||
on adid.agent_id = latest.agent_id
|
on adid.agent_id = latest.agent_id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user