|
|
@@ -182,7 +182,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
SELECT t1.* FROM company_wx_client t1
|
|
|
inner join company_voice_robotic t2 on t1.robotic_id = t2.id
|
|
|
where t1.is_add = 2 and t1.account_id is not null
|
|
|
- and t2.task_status = 1 and t2.del_flag != 1
|
|
|
+ and t1.create_time >= DATE_SUB(NOW(), INTERVAL 7 DAY)
|
|
|
<if test="accountIdList != null and !accountIdList.isEmpty()">
|
|
|
and t1.account_id in <foreach collection="accountIdList" open="(" separator="," close=")" item="item">#{item}</foreach>
|
|
|
</if>
|