select a.*,b.`companyId` from smartivr_customer_info as a left join smartivr_task as b on a.`callee` = b.`caller` where a.`keyWordType` in ('A','B','C') and a.`is_send` = 0 and a.`createTime`<='2018-10-23 03:27:30' group by a.`callid` limit 0,20