bugfix:过滤军保支付对账
This commit is contained in:
@@ -83,6 +83,9 @@
|
||||
<if test="prepayment_code != null and prepayment_code != ''">
|
||||
and a.PayType != #{prepayment_code}
|
||||
</if>
|
||||
<if test="military_payment_code != null and military_payment_code != ''">
|
||||
and a.PayType != #{military_payment_code}
|
||||
</if>
|
||||
<if test="excludeMilitaryOperators != null and excludeMilitaryOperators.size() > 0">
|
||||
and a.HisOperCode not in
|
||||
<foreach collection="excludeMilitaryOperators" item="operator" open="(" separator="," close=")">
|
||||
@@ -126,6 +129,9 @@
|
||||
<if test="prepayment_code != null and prepayment_code != ''">
|
||||
and payType!=#{prepayment_code}
|
||||
</if>
|
||||
<if test="military_payment_code != null and military_payment_code != ''">
|
||||
and payType!=#{military_payment_code}
|
||||
</if>
|
||||
) a
|
||||
inner join
|
||||
(select * from bankbill_history where C_JYRQ = #{trade_date}) b
|
||||
@@ -166,6 +172,9 @@
|
||||
<if test="prepayment_code != null and prepayment_code != ''">
|
||||
and payType!=#{prepayment_code}
|
||||
</if>
|
||||
<if test="military_payment_code != null and military_payment_code != ''">
|
||||
and payType!=#{military_payment_code}
|
||||
</if>
|
||||
) a
|
||||
left join
|
||||
(select * from bankbill_history where C_JYRQ = #{trade_date}) b
|
||||
@@ -207,6 +216,9 @@
|
||||
<if test="prepayment_code != null and prepayment_code != ''">
|
||||
and payType!=#{prepayment_code}
|
||||
</if>
|
||||
<if test="military_payment_code != null and military_payment_code != ''">
|
||||
and payType!=#{military_payment_code}
|
||||
</if>
|
||||
) a
|
||||
right join
|
||||
(select * from bankbill_history where C_JYRQ = #{trade_date}) b
|
||||
|
||||
Reference in New Issue
Block a user