Commit 67186862 by yao.xiao

修改-去除未激活的经纪人

parent ee3319ff
......@@ -750,6 +750,7 @@
where
s.owner_practitioner_id = #{practitionerId,jdbcType=BIGINT}
and s.is_active=1
and p.is_active=1
and not EXISTS (select t.leads_assigned_id
from ag_mkt_leads_assigned_track t
where t.md_drop_option_id = #{optionsId,jdbcType=BIGINT}
......
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