订单附带京粉每日统计
This commit is contained in:
@@ -116,7 +116,7 @@ public class JDUtil {
|
||||
this.orderUtil = orderUtil;
|
||||
}
|
||||
|
||||
private static List<OrderRow> filterOrdersByDate(List<OrderRow> orderRows, int daysBack) {
|
||||
private List<OrderRow> filterOrdersByDate(List<OrderRow> orderRows, int daysBack) {
|
||||
LocalDate now = LocalDate.now();
|
||||
|
||||
return orderRows.stream().filter(order -> {
|
||||
@@ -128,7 +128,7 @@ public class JDUtil {
|
||||
}).collect(Collectors.toList());
|
||||
}
|
||||
|
||||
private static Stream<OrderRow> getStreamForWeiGui(List<OrderRow> todayOrders) {
|
||||
private Stream<OrderRow> getStreamForWeiGui(List<OrderRow> todayOrders) {
|
||||
return todayOrders.stream().filter(orderRow -> orderRow.getValidCode() == 13 || orderRow.getValidCode() == 25 || orderRow.getValidCode() == 26 || orderRow.getValidCode() == 27 || orderRow.getValidCode() == 28 || orderRow.getValidCode() == 29);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user