Commit 6690e128 by jianan

渠道发佣报表11

parent d128dc3f
...@@ -1019,7 +1019,7 @@ ...@@ -1019,7 +1019,7 @@
f.channel_id f.channel_id
FROM ag_acl_customer_fortune f FROM ag_acl_customer_fortune f
LEFT JOIN ag_acl_channel_new cn on cn.customer_id = f.customer_id LEFT JOIN ag_acl_channel_new cn on cn.id = f.channel_id
LEFT JOIN ag_acl_practitioner pra on pra.customer_id = f.customer_id LEFT JOIN ag_acl_practitioner pra on pra.customer_id = f.customer_id
LEFT JOIN ag_acl_practitioner_setting ps on ps.practitioner_id = pra.id LEFT JOIN ag_acl_practitioner_setting ps on ps.practitioner_id = pra.id
LEFT JOIN ag_md_drop_options op1 ON op1.id = ps.practitioner_level LEFT JOIN ag_md_drop_options op1 ON op1.id = ps.practitioner_level
...@@ -1030,7 +1030,6 @@ ...@@ -1030,7 +1030,6 @@
f.channel_type = '1' f.channel_type = '1'
AND f.id in <foreach collection="list" item="item" open="(" separator="," close=")"> #{item,jdbcType=BIGINT} </foreach> AND f.id in <foreach collection="list" item="item" open="(" separator="," close=")"> #{item,jdbcType=BIGINT} </foreach>
GROUP BY f.order_id, f.channel_id GROUP BY f.order_id, f.channel_id
ORDER BY '2'
</select> </select>
<select id="querySalePractitionerFortune1" parameterType="list" resultType="Long"> <select id="querySalePractitionerFortune1" parameterType="list" resultType="Long">
......
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