ソースを参照

优化报表问题

java110 4 年 前
コミット
f83cff1568
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      java110-db/src/main/resources/mapper/report/ReportOweFeeServiceDaoImplMapper.xml

+ 1 - 1
java110-db/src/main/resources/mapper/report/ReportOweFeeServiceDaoImplMapper.xml

@@ -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'