瀏覽代碼

优化代码

java110 5 年之前
父節點
當前提交
afad5dc263
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      java110-db/src/main/resources/mapper/fee/FeeServiceDaoImplMapper.xml

+ 4 - 4
java110-db/src/main/resources/mapper/fee/FeeServiceDaoImplMapper.xml

@@ -154,8 +154,8 @@
         and td3.table_name = 'pay_fee'
         and td3.table_name = 'pay_fee'
         and td3.table_columns = 'fee_flag'
         and td3.table_columns = 'fee_flag'
         and pfc.bill_type = td4.status_cd
         and pfc.bill_type = td4.status_cd
-        and td4.table_name = 'bill_type'
-        and td4.table_columns = 'pay_fee_config'
+        and td4.table_name = 'pay_fee_config'
+        and td4.table_columns = 'bill_type'
         <if test="amount !=null and amount != ''">
         <if test="amount !=null and amount != ''">
             and t.amount= #{amount}
             and t.amount= #{amount}
         </if>
         </if>
@@ -289,8 +289,8 @@
         and td3.table_name = 'pay_fee'
         and td3.table_name = 'pay_fee'
         and td3.table_columns = 'fee_flag'
         and td3.table_columns = 'fee_flag'
         and pfc.bill_type = td4.status_cd
         and pfc.bill_type = td4.status_cd
-        and td4.table_name = 'bill_type'
-        and td4.table_columns = 'pay_fee_config'
+        and td4.table_name = 'pay_fee_config'
+        and td4.table_columns = 'bill_type'
         <if test="amount !=null and amount != ''">
         <if test="amount !=null and amount != ''">
             and t.amount= #{amount}
             and t.amount= #{amount}
         </if>
         </if>