From 82571049379ee7a2cc1435db07465024d88a3a65 Mon Sep 17 00:00:00 2001 From: "james.zhao" Date: Thu, 25 Apr 2019 09:31:16 +0800 Subject: [PATCH] =?UTF-8?q?BD=E5=9B=A2=E9=98=9F=E5=88=86=E6=9E=90fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manage/mappers/financial/FinancialBDPrizeLogMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/mappers/financial/FinancialBDPrizeLogMapper.java b/src/main/java/au/com/royalpay/payment/manage/mappers/financial/FinancialBDPrizeLogMapper.java index daccb3c33..cb9f467ca 100644 --- a/src/main/java/au/com/royalpay/payment/manage/mappers/financial/FinancialBDPrizeLogMapper.java +++ b/src/main/java/au/com/royalpay/payment/manage/mappers/financial/FinancialBDPrizeLogMapper.java @@ -104,7 +104,7 @@ public interface FinancialBDPrizeLogMapper { "\tAND o.date < #{end_date} \n" + "\tAND d.start_date <= o.date AND d.is_valid = 1 AND ( d.end_date IS NULL OR d.end_date > o.date \n" + "\t) \n" + - "\tAND c.get_prize = 1 \n" + + "\tAND c.bd_group IS NOT NULL \n" + "GROUP BY\n" + "\tc.bd_group") List findBdPrizeAmountRealTime(@Param("start_date") Date start_date, @Param("end_date") Date end_date);