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
bdc1cef4
Commit
bdc1cef4
authored
Jul 29, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消费构成-消费年龄-概况
parent
17086353
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
ConsumeStructureController.java
.../gic/cloud/web/controller/ConsumeStructureController.java
+10
-2
No files found.
gic-data-cloud-wxapp/src/main/java/com/gic/cloud/web/controller/ConsumeStructureController.java
View file @
bdc1cef4
...
...
@@ -16,7 +16,7 @@ import com.gic.enterprise.utils.ResultControllerUtils;
public
class
ConsumeStructureController
{
private
static
final
Logger
log
=
LogManager
.
getLogger
(
ConsumeStructureController
.
class
);
@Autowired
private
ConsumeStructureApiService
performanceOverview
ApiService
;
private
ConsumeStructureApiService
consumeStructure
ApiService
;
@Autowired
private
StoreSearchUtils
storeSearchUtils
;
...
...
@@ -33,6 +33,14 @@ public class ConsumeStructureController {
log
.
info
(
"消费构成-消费年龄-年龄消费占比参数:{}"
,
JSON
.
toJSONString
(
params
));
params
.
setOnlineStoreIdList
(
storeSearchUtils
.
onLineStoreSearch
(
params
.
getUserId
(),
params
.
getEnterpriseId
(),
params
.
getSearchJson
()));
params
.
setStoreInfoIdList
(
storeSearchUtils
.
storeSearch
(
params
.
getUserId
(),
params
.
getEnterpriseId
(),
params
.
getSearchJson
()));
return
ResultControllerUtils
.
commonResult
(
performanceOverviewApiService
.
queryAgeConsumeShare
(
params
));
return
ResultControllerUtils
.
commonResult
(
consumeStructureApiService
.
queryAgeConsumeShare
(
params
));
}
@RequestMapping
(
"get-age-consume-survey"
)
public
RestResponse
queryAgeConsumeSurvey
(
AgeConsumeShareQO
params
)
{
log
.
info
(
"消费构成-消费年龄-概况参数:{}"
,
JSON
.
toJSONString
(
params
));
params
.
setOnlineStoreIdList
(
storeSearchUtils
.
onLineStoreSearch
(
params
.
getUserId
(),
params
.
getEnterpriseId
(),
params
.
getSearchJson
()));
params
.
setStoreInfoIdList
(
storeSearchUtils
.
storeSearch
(
params
.
getUserId
(),
params
.
getEnterpriseId
(),
params
.
getSearchJson
()));
return
ResultControllerUtils
.
commonResult
(
consumeStructureApiService
.
queryAgeConsumeSurvey
(
params
));
}
}
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