Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform
Commits
5cc31ee5
Commit
5cc31ee5
authored
Dec 30, 2019
by
libin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'large_screen_display_feature'
parents
5007b006
8b311ce8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
OrderProfileDispayVo.java
...com/xxfc/platform/order/pojo/vo/OrderProfileDispayVo.java
+1
-1
OrderProfileDisplayBiz.java
...a/com/xxfc/platform/order/biz/OrderProfileDisplayBiz.java
+2
-1
No files found.
xx-order/xx-order-api/src/main/java/com/xxfc/platform/order/pojo/vo/OrderProfileDispayVo.java
View file @
5cc31ee5
...
...
@@ -64,6 +64,6 @@ public class OrderProfileDispayVo implements Serializable {
}
public
BigDecimal
getOrderAmount
()
{
return
CollectionUtils
.
isEmpty
(
orderProfiles
)?
BigDecimal
.
ZERO
:
order
Profiles
.
stream
().
map
(
OrderProfileVo:
:
getOrderAmount
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
)
;
return
CollectionUtils
.
isEmpty
(
orderProfiles
)?
BigDecimal
.
ZERO
:
order
Amount
;
}
}
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/OrderProfileDisplayBiz.java
View file @
5cc31ee5
...
...
@@ -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. 十大运营中心订单数据
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment