Commit 65ae463b by 徐高华

导购话务也要查询好友

parent bc067851
......@@ -304,7 +304,7 @@
<!-- 查询所有任务数-->
<select id="getTotalTask" resultType="int">
select count(1) from tab_haoban_group_chat_plan_owner_log a LEFT JOIN tab_haoban_group_chat_plan b ON a.plan_id = b.plan_id
where a.enterprise_id = #{enterpriseId} and b.end_time <![CDATA[<=]]> now()
where a.enterprise_id = #{enterpriseId} and b.end_time <![CDATA[ > ]]> now()
AND a.clerk_id = #{clerkId} AND a.send_status = 1 and a.delete_flag = 0
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment