Upd:日账单KPI数据异常

master
duLingLing 5 years ago
parent f590a95bb8
commit 56b18ed406

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId>
<version>1.2.34</version>
<version>1.2.35</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

@ -128,7 +128,7 @@ public interface FinancialBDPrizeLogMapper {
"\tsc.org_id = 1 \n" +
"\tAND o.date >= #{start_date} \n" +
"\tAND o.date < #{end_date} \n" +
"\tAND d.start_date <= o.date AND ( d.end_date IS NULL OR d.end_date > o.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.bd_group IS NOT NULL \n" +
"\tAND fbc.bd_type in (1, 2, 6, 7) \n" +
@ -149,7 +149,7 @@ public interface FinancialBDPrizeLogMapper {
"\tsc.org_id = 1 \n" +
"\tAND o.date >= #{month_start_date} \n" +
"\tAND o.date < #{end_date} \n" +
"\tAND d.start_date <= o.date AND ( d.end_date IS NULL OR d.end_date > o.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.bd_group IS NOT NULL \n" +
"\tAND fbc.bd_type in (1, 2, 6, 7) \n" +

Loading…
Cancel
Save