Commit da30900b by 徐高华

朋友圈

parent eab21ab1
...@@ -209,7 +209,7 @@ ...@@ -209,7 +209,7 @@
select a.plan_id select a.plan_id
from tab_haoban_qw_moment_plan a left join tab_haoban_qw_moment_plan_attend b on a.plan_id = b.plan_id 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} where a.wx_enterprise_id=#{wxEnterpriseId} and a.enterprise_id=#{enterpriseId} and b.store_id=#{storeId}
and b.status_flag = 1 and a.end_date > now() and a.status_flag = 1 and b.status_flag = 1 and a.end_date > now() and a.status_flag = 1 and b.task_status = 1
<if test="null != clerkId"> <if test="null != clerkId">
and b.clerk_id = #{clerkId} and b.clerk_id = #{clerkId}
</if> </if>
......
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