|
@@ -665,7 +665,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
<update id="deleteInvalidFee" parameterType="Map">
|
|
<update id="deleteInvalidFee" parameterType="Map">
|
|
|
- delete from report_owe_fee where fee_id not in (
|
|
|
|
|
|
|
+ delete from report_owe_fee where fee_id not exists (
|
|
|
select t.fee_id from pay_fee t
|
|
select t.fee_id from pay_fee t
|
|
|
inner join pay_fee_config pfc on t.config_id = pfc.config_id and pfc.status_cd = '0'
|
|
inner join pay_fee_config pfc on t.config_id = pfc.config_id and pfc.status_cd = '0'
|
|
|
where t.status_cd = '0'
|
|
where t.status_cd = '0'
|