java110 лет назад: 6
Родитель
Сommit
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>