Commit d7a008d7 by wenyang

发佣检核时,增加只查询未支付的条件, 不然会导致检核时把已经关账的提现记录查询出来

parent 03a98fb7
......@@ -548,7 +548,7 @@
<foreach collection="list" item="item" separator="," open="(" close=")">
#{item}
</foreach>
<!-- and w.is_paid != 1-->
and w.is_paid != 1
and (f.payout_batch_id = #{payoutBatchId,jdbcType=BIGINT} or w.withdraw_amount = 0)
group by w.customer_id
</select>
......
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