|
@@ -205,8 +205,8 @@
|
|
|
<if test="quotaDisburseBatch == null">
|
|
|
and tt.quota_disburse_batch is null
|
|
|
</if>
|
|
|
- AND tt.amount_type NOT IN
|
|
|
- (SELECT mm.amount_type FROM refund_details mm WHERE mm.refund_management_id = #{id})
|
|
|
+ AND tt.ledger_fund_goods_assign_id NOT IN
|
|
|
+ (SELECT nn.ledger_fund_goods_assign_id from refund_details nn where nn.refund_management_id = a.id)
|
|
|
</where>
|
|
|
)
|
|
|
</select>
|