Commit 8b311ce8 authored by libin's avatar libin

累计金额

parent bfe0b963
......@@ -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;
}
}
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