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
411b9fd5
Commit
411b9fd5
authored
Dec 31, 2019
by
libin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into dev
parents
d72661aa
7565bd87
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
OrderProfileDisplayBiz.java
...a/com/xxfc/platform/order/biz/OrderProfileDisplayBiz.java
+2
-1
CompanyOrderReceivedStatiscsAdminController.java
...ckground/CompanyOrderReceivedStatiscsAdminController.java
+2
-0
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/OrderProfileDisplayBiz.java
View file @
411b9fd5
...
@@ -156,8 +156,9 @@ public class OrderProfileDisplayBiz extends BaseBiz<OrderProfileDisplayMapper, O
...
@@ -156,8 +156,9 @@ public class OrderProfileDisplayBiz extends BaseBiz<OrderProfileDisplayMapper, O
//2.支付终端统计
//2.支付终端统计
wrapToPayProfileWithPayTerminal
(
baseOrders
,
orderAmountConstant
,
largeScreenDisplayConstantDataBo
,
orderPayProfileDispalyVo
);
wrapToPayProfileWithPayTerminal
(
baseOrders
,
orderAmountConstant
,
largeScreenDisplayConstantDataBo
,
orderPayProfileDispalyVo
);
BigDecimal
realOrderAmount
=
baseOrders
.
stream
().
map
(
BaseOrderDTO:
:
getRealAmount
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
);
//累计订单金额
//累计订单金额
orderProfileDispayVo
.
setOrderAmount
(
orderAmountConstant
);
orderProfileDispayVo
.
setOrderAmount
(
orderAmountConstant
.
add
(
realOrderAmount
)
);
orderProfileDispayVo
.
setOrderPayProfileDisplay
(
orderPayProfileDispalyVo
);
orderProfileDispayVo
.
setOrderPayProfileDisplay
(
orderPayProfileDispalyVo
);
return
orderProfileDispayVo
;
return
orderProfileDispayVo
;
}
}
...
...
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/rest/background/CompanyOrderReceivedStatiscsAdminController.java
View file @
411b9fd5
...
@@ -53,6 +53,8 @@ public class CompanyOrderReceivedStatiscsAdminController {
...
@@ -53,6 +53,8 @@ public class CompanyOrderReceivedStatiscsAdminController {
public
void
exportCompanyPerformance
(
@RequestBody
CompanyPerformanceFindDTO
companyPerformanceFindDTO
,
HttpServletResponse
response
){
public
void
exportCompanyPerformance
(
@RequestBody
CompanyPerformanceFindDTO
companyPerformanceFindDTO
,
HttpServletResponse
response
){
try
{
try
{
companyPerformanceFindDTO
.
setLimit
(
null
);
companyPerformanceFindDTO
.
setPage
(
null
);
String
name
=
DateTimeFormatter
.
ofPattern
(
"YYYYMMddHHmmss"
).
format
(
LocalDateTime
.
now
());
String
name
=
DateTimeFormatter
.
ofPattern
(
"YYYYMMddHHmmss"
).
format
(
LocalDateTime
.
now
());
response
.
setContentType
(
"application/vnd.ms-excel;charset=utf-8"
);
response
.
setContentType
(
"application/vnd.ms-excel;charset=utf-8"
);
String
filename
=
String
.
format
(
"%s-company-statistics.xlsx"
,
name
);
String
filename
=
String
.
format
(
"%s-company-statistics.xlsx"
,
name
);
...
...
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