Commit 18cab3b1 by 徐高华

朋友圈

parent dc97909f
......@@ -187,8 +187,9 @@
SUM(IF( a.status_flag = 1 AND b.task_status = 1 AND end_date >= NOW() , 1, 0 )) AS notExecNum
from tab_haoban_qw_moment_plan a left join tab_haoban_qw_moment_plan_attend b on a.plan_id = b.plan_id
where a.wx_enterprise_id=#{wxEnterpriseId} and a.enterprise_id=#{enterpriseId} and b.store_id=#{storeId}
and b.status_flag = 1
<if test="null != clerkId">and b.clerk_id = #{clerkId}
and b.status_flag = 1 and a.delete_flag = 0
<if test="null != clerkId">
and b.clerk_id = #{clerkId}
</if>
<if test="null != nameLike">
and a.title like #{nameLike}
......
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