Commit 5cc31ee5 authored by libin's avatar libin

Merge branch 'large_screen_display_feature'

parents 5007b006 8b311ce8
......@@ -64,6 +64,6 @@ public class OrderProfileDispayVo implements Serializable {
}
public BigDecimal getOrderAmount() {
return CollectionUtils.isEmpty(orderProfiles)?BigDecimal.ZERO:orderProfiles.stream().map(OrderProfileVo::getOrderAmount).reduce(BigDecimal.ZERO,BigDecimal::add);
return CollectionUtils.isEmpty(orderProfiles)?BigDecimal.ZERO:orderAmount;
}
}
......@@ -89,7 +89,8 @@ public class OrderProfileDisplayBiz extends BaseBiz<OrderProfileDisplayMapper, O
//2.1查询订单数据
List<BaseOrderDTO> baseOrders = baseOrderBiz.findOrdersByDate(startDate, endDate);
//2.2查询固定数据
List<OrderProfileDisplay> orderProfileDisplays = findOrderProfileDisplayDataByDate(startDate, endDate);
Date constantEndDate = DateUtil.offsetDay(endDate, -1).toJdkDate();
List<OrderProfileDisplay> orderProfileDisplays = findOrderProfileDisplayDataByDate(startDate, constantEndDate);
CountDownLatch latch = new CountDownLatch(3);
//3. 十大运营中心订单数据
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment