171250443 пре 1 година
родитељ
комит
cc3bcbd6cc
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/main/resources/mapper/mysql/MySQLMapper.xml

+ 2 - 2
src/main/resources/mapper/mysql/MySQLMapper.xml

@@ -382,7 +382,7 @@
             t.account_balance AS accountBalance, t2.balance AS balance
         FROM
             fc_account t
-                LEFT JOIN ( SELECT bank_code, sum( trusteeship_balance) as balance FROM fc_project_account WHERE account_type = 1 GROUP BY bank_code ) t2 ON t2.bank_code = t.bank_code
+            LEFT JOIN ( SELECT bank_code, sum( trusteeship_balance) as balance FROM fc_project_account WHERE account_type = 1 GROUP BY bank_code ) t2 ON t2.bank_code = t.bank_code
         WHERE
             t.type = 1
     </select>
@@ -427,6 +427,6 @@
     </select>
 
     <select id="selectByBankBill" resultType="com.cool.bang.modules.mysql.domain.BankBill">
-        select business_number as businessNumber, account, amount, transaction_time as transactionTime, type  from fc_trade where channel_code = #{bankCode} and transaction_time &gt;= #{startDate} and transaction_time &lt;= #{endDate} order by transaction_time desc
+        select business_number as businessNumber, account, amount, transaction_time as transactionTime, type  from fc_trade where channel_code = #{bankCode} and transaction_time &gt;= #{startDate} and transaction_time &lt;= #{endDate} order by transaction_time
     </select>
 </mapper>