1
This commit is contained in:
@@ -245,7 +245,7 @@ public class JDUtils {
|
||||
content += "已完成佣金:" + todayOrders.stream().filter(orderRow -> orderRow.getValidCode() == 17 ).mapToDouble(OrderRow::getEstimateFee).sum();
|
||||
content += "\r"+"违规佣金:" + todayOrders.stream().filter(orderRow -> orderRow.getValidCode() == 27
|
||||
|| orderRow.getValidCode() == 28
|
||||
|| orderRow.getValidCode() == 2).mapToDouble(orderRow -> orderRow.getEstimateCosPrice() * orderRow.getCommissionRate()).sum();
|
||||
|| orderRow.getValidCode() == 2).mapToDouble(orderRow -> orderRow.getEstimateCosPrice() * orderRow.getCommissionRate() * 0.01 ).sum();
|
||||
|
||||
break;
|
||||
}
|
||||
@@ -265,7 +265,7 @@ public class JDUtils {
|
||||
content += "已完成佣金:" + yesterdayOrders.stream().filter(orderRow -> orderRow.getValidCode() == 17 ).mapToDouble(OrderRow::getEstimateFee).sum();
|
||||
content += "\r"+"违规佣金:" + yesterdayOrders.stream().filter(orderRow -> orderRow.getValidCode() == 27
|
||||
|| orderRow.getValidCode() == 28
|
||||
|| orderRow.getValidCode() == 2).mapToDouble(orderRow -> orderRow.getEstimateCosPrice() * orderRow.getCommissionRate()).sum();
|
||||
|| orderRow.getValidCode() == 2).mapToDouble(orderRow -> orderRow.getEstimateCosPrice() * orderRow.getCommissionRate() * 0.01 ).sum();
|
||||
break;
|
||||
}
|
||||
case "七日统计": {
|
||||
@@ -282,7 +282,7 @@ public class JDUtils {
|
||||
content += "已完成佣金:" + last7DaysOrders.stream().filter(orderRow -> orderRow.getValidCode() == 17 ).mapToDouble(OrderRow::getEstimateFee).sum();
|
||||
content += "\r"+"违规佣金:" + last7DaysOrders.stream().filter(orderRow -> orderRow.getValidCode() == 27
|
||||
|| orderRow.getValidCode() == 28
|
||||
|| orderRow.getValidCode() == 2).mapToDouble(orderRow -> orderRow.getEstimateCosPrice() * orderRow.getCommissionRate()).sum();
|
||||
|| orderRow.getValidCode() == 2).mapToDouble(orderRow -> orderRow.getEstimateCosPrice() * orderRow.getCommissionRate() * 0.01 ).sum();
|
||||
break;
|
||||
}
|
||||
case "一个月统计":{
|
||||
@@ -299,7 +299,7 @@ public class JDUtils {
|
||||
content += "已完成佣金:" + last30DaysOrders.stream().filter(orderRow -> orderRow.getValidCode() == 17 ).mapToDouble(OrderRow::getEstimateFee).sum();
|
||||
content += "\r"+"违规佣金:" + last30DaysOrders.stream().filter(orderRow -> orderRow.getValidCode() == 27
|
||||
|| orderRow.getValidCode() == 28
|
||||
|| orderRow.getValidCode() == 2).mapToDouble(orderRow -> orderRow.getEstimateCosPrice() * orderRow.getCommissionRate()).sum();
|
||||
|| orderRow.getValidCode() == 2).mapToDouble(orderRow -> orderRow.getEstimateCosPrice() * orderRow.getCommissionRate() * 0.01 ).sum();
|
||||
break;
|
||||
}
|
||||
case "两个月统计":{
|
||||
@@ -316,7 +316,7 @@ public class JDUtils {
|
||||
content += "已完成佣金:" + last60DaysOrders.stream().filter(orderRow -> orderRow.getValidCode() == 17 ).mapToDouble(OrderRow::getEstimateFee).sum();
|
||||
content += "\r"+"违规佣金:" + last60DaysOrders.stream().filter(orderRow -> orderRow.getValidCode() == 27
|
||||
|| orderRow.getValidCode() == 28
|
||||
|| orderRow.getValidCode() == 2).mapToDouble(orderRow -> orderRow.getEstimateCosPrice() * orderRow.getCommissionRate()).sum();
|
||||
|| orderRow.getValidCode() == 2).mapToDouble(orderRow -> orderRow.getEstimateCosPrice() * orderRow.getCommissionRate() * 0.01 ).sum();
|
||||
break;
|
||||
}
|
||||
case "三个月统计":{
|
||||
@@ -332,7 +332,7 @@ public class JDUtils {
|
||||
content += "已完成佣金:" + last90DaysOrders.stream().filter(orderRow -> orderRow.getValidCode() == 17 ).mapToDouble(OrderRow::getEstimateFee).sum();
|
||||
content += "\r"+"违规佣金:" + last90DaysOrders.stream().filter(orderRow -> orderRow.getValidCode() == 27
|
||||
|| orderRow.getValidCode() == 28
|
||||
|| orderRow.getValidCode() == 2).mapToDouble(orderRow -> orderRow.getEstimateCosPrice() * orderRow.getCommissionRate()).sum();
|
||||
|| orderRow.getValidCode() == 2).mapToDouble(orderRow -> orderRow.getEstimateCosPrice() * orderRow.getCommissionRate() * 0.01 ).sum();
|
||||
break;
|
||||
}
|
||||
case "今日订单": {
|
||||
@@ -350,7 +350,7 @@ public class JDUtils {
|
||||
content += "已完成佣金:" + todayOrders.stream().filter(orderRow -> orderRow.getValidCode() == 17 ).mapToDouble(OrderRow::getEstimateFee).sum();
|
||||
content += "\r"+"违规佣金:" + todayOrders.stream().filter(orderRow -> orderRow.getValidCode() == 27
|
||||
|| orderRow.getValidCode() == 28
|
||||
|| orderRow.getValidCode() == 2).mapToDouble(orderRow -> orderRow.getEstimateCosPrice() * orderRow.getCommissionRate()).sum();
|
||||
|| orderRow.getValidCode() == 2).mapToDouble(orderRow -> orderRow.getEstimateCosPrice() * orderRow.getCommissionRate() * 0.01 ).sum();
|
||||
|
||||
for (OrderRow orderRow : todayOrders) {
|
||||
orderToWx(orderRow, false);
|
||||
@@ -374,7 +374,7 @@ public class JDUtils {
|
||||
content += "已完成佣金:" + yesterdayOrders.stream().filter(orderRow -> orderRow.getValidCode() == 17 ).mapToDouble(OrderRow::getEstimateFee).sum();
|
||||
content += "\r"+"违规佣金:" + yesterdayOrders.stream().filter(orderRow -> orderRow.getValidCode() == 27
|
||||
|| orderRow.getValidCode() == 28
|
||||
|| orderRow.getValidCode() == 2).mapToDouble(orderRow -> orderRow.getEstimateCosPrice() * orderRow.getCommissionRate()).sum();
|
||||
|| orderRow.getValidCode() == 2).mapToDouble(orderRow -> orderRow.getEstimateCosPrice() * orderRow.getCommissionRate() * 0.01 ).sum();
|
||||
for (OrderRow orderRow : yesterdayOrders) {
|
||||
orderToWx(orderRow, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user