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
b5f6961f
Commit
b5f6961f
authored
Jul 28, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业绩概览
parent
8c8f73ea
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
1 deletions
+33
-1
IndexController.java
...in/java/com/gic/cloud/web/controller/IndexController.java
+1
-1
PerformanceOverviewController.java
...c/cloud/web/controller/PerformanceOverviewController.java
+30
-0
dubbo-gic-data-cloud-wxapp.xml
...d-wxapp/src/main/resources/dubbo-gic-data-cloud-wxapp.xml
+2
-0
No files found.
gic-data-cloud-wxapp/src/main/java/com/gic/cloud/web/controller/IndexController.java
View file @
b5f6961f
...
...
@@ -24,7 +24,7 @@ public class IndexController {
@RequestMapping
(
"index-mbr"
)
public
RestResponse
indexMbr
(
Integer
enterpriseId
,
Integer
userId
){
return
null
;
}
@RequestMapping
(
"index-sales"
)
...
...
gic-data-cloud-wxapp/src/main/java/com/gic/cloud/web/controller/PerformanceOverviewController.java
0 → 100644
View file @
b5f6961f
package
com
.
gic
.
cloud
.
web
.
controller
;
import
org.apache.logging.log4j.LogManager
;
import
org.apache.logging.log4j.Logger
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.alibaba.fastjson.JSON
;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.data.api.qo.performanceoverview.PerformanceOverviewQO
;
import
com.gic.data.api.service.performanceoverview.PerformanceOverviewApiService
;
import
com.gic.enterprise.utils.ResultControllerUtils
;
@RestController
public
class
PerformanceOverviewController
{
private
static
final
Logger
log
=
LogManager
.
getLogger
(
PerformanceOverviewController
.
class
);
@Autowired
private
PerformanceOverviewApiService
performanceOverviewApiService
;
@Autowired
private
StoreSearchUtils
storeSearchUtils
;
@RequestMapping
(
"get-performance-overview"
)
public
RestResponse
selectPerformanceOverview
(
PerformanceOverviewQO
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
(
performanceOverviewApiService
.
selectPerformanceOverview
(
params
));
}
}
gic-data-cloud-wxapp/src/main/resources/dubbo-gic-data-cloud-wxapp.xml
View file @
b5f6961f
...
...
@@ -146,4 +146,6 @@
<dubbo:reference
interface=
"com.gic.cloud.service.IndexDescApiService"
id=
"indexDescApiService"
timeout=
"6000"
retries=
"0"
/>
<dubbo:reference
interface=
"com.gic.cloud.service.DataExplainApiService"
id=
"dataExplainApiService"
timeout=
"6000"
retries=
"0"
/>
<dubbo:reference
interface=
"com.gic.data.api.service.IndexSalesApiService"
id=
"indexSalesApiService"
timeout=
"6000"
retries=
"0"
/>
<dubbo:reference
interface=
"com.gic.data.api.service.performanceoverview.PerformanceOverviewApiService"
id=
"performanceOverviewApiService"
timeout=
"6000"
retries=
"0"
/>
</beans>
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