Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-data-cloud
Overview
Overview
Details
Activity
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
base_platform_enterprise
gic-data-cloud
Commits
5954c0fc
Commit
5954c0fc
authored
Jun 22, 2021
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店控件查询
parent
f810151c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
GoDownComponent.java
...in/java/com/gic/cloud/web/controller/GoDownComponent.java
+6
-2
No files found.
gic-data-cloud-wxapp/src/main/java/com/gic/cloud/web/controller/GoDownComponent.java
View file @
5954c0fc
...
@@ -54,6 +54,10 @@ public class GoDownComponent {
...
@@ -54,6 +54,10 @@ public class GoDownComponent {
private
ClerkApiService
clerkApiService
;
private
ClerkApiService
clerkApiService
;
public
void
parseTotal
(
ServiceResponse
<?>
response
,
BaseSalesVo
vo
){
public
void
parseTotal
(
ServiceResponse
<?>
response
,
BaseSalesVo
vo
){
parseTotal
(
response
,
vo
,
"合计"
);
}
public
void
parseTotal
(
ServiceResponse
<?>
response
,
BaseSalesVo
vo
,
String
title
){
if
(
response
.
isSuccess
()
&&
response
.
getResult
()
!=
null
){
if
(
response
.
isSuccess
()
&&
response
.
getResult
()
!=
null
){
Page
<
BaseDTO
>
page
=
(
Page
<
BaseDTO
>)
response
.
getResult
();
Page
<
BaseDTO
>
page
=
(
Page
<
BaseDTO
>)
response
.
getResult
();
if
(
CollectionUtils
.
isEmpty
(
page
.
getResult
())){
if
(
CollectionUtils
.
isEmpty
(
page
.
getResult
())){
...
@@ -62,9 +66,9 @@ public class GoDownComponent {
...
@@ -62,9 +66,9 @@ public class GoDownComponent {
BaseDTO
total
=
page
.
getResult
().
get
(
0
);
BaseDTO
total
=
page
.
getResult
().
get
(
0
);
if
(
total
!=
null
){
if
(
total
!=
null
){
total
.
setAreaId
(
"0"
);
total
.
setAreaId
(
"0"
);
total
.
setAreaName
(
"合计/均值"
);
total
.
setAreaName
(
title
);
total
.
setId
(
"0"
);
total
.
setId
(
"0"
);
total
.
setName
(
"合计/均值"
);
total
.
setName
(
title
);
vo
.
setTotal
(
total
);
vo
.
setTotal
(
total
);
}
}
}
}
...
...
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