Commit 5312a43f by yao.xiao

寿险经纪人发佣过滤非寿险经纪人

parent e81f1030
...@@ -169,6 +169,8 @@ ...@@ -169,6 +169,8 @@
on pra.id = setting.practitioner_id on pra.id = setting.practitioner_id
where pay.customer_id = pra.customer_id where pay.customer_id = pra.customer_id
and pra.is_active = 1 and pra.is_active = 1
and setting.practitioner_type_id = 28
and pay.withdraw_amount != 0
<if test="item.payoutYearmonth != null"> <if test="item.payoutYearmonth != null">
and pb.payout_yearmonth = #{item.payoutYearmonth,jdbcType=VARCHAR} and pb.payout_yearmonth = #{item.payoutYearmonth,jdbcType=VARCHAR}
</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