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
2b9bacdb
Commit
2b9bacdb
authored
Jul 10, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据解读
parent
5d1dcc5d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
3 deletions
+30
-3
DataExplainController.java
...cloud/operation/web/controller/DataExplainController.java
+14
-1
IndexController.java
...m/gic/cloud/operation/web/controller/IndexController.java
+14
-2
dubbo-gic-data-cloud-operation-web.xml
...src/main/resources/dubbo-gic-data-cloud-operation-web.xml
+1
-0
dubbo-gic-data-cloud-service.xml
...rvice/src/main/resources/dubbo-gic-data-cloud-service.xml
+1
-0
No files found.
gic-data-cloud-operation-web/src/main/java/com/gic/cloud/operation/web/controller/DataExplainController.java
View file @
2b9bacdb
...
...
@@ -3,8 +3,10 @@ package com.gic.cloud.operation.web.controller;
import
com.gic.api.base.commons.Page
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.cloud.dto.DataExplainDTO
;
import
com.gic.cloud.dto.IndexLogDTO
;
import
com.gic.cloud.qo.DataExplainQO
;
import
com.gic.cloud.service.DataExplainApiService
;
import
com.gic.cloud.service.IndexLogApiService
;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.enterprise.error.ErrorCode
;
import
com.gic.enterprise.utils.ResultControllerUtils
;
...
...
@@ -13,6 +15,8 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.List
;
/**
* @author zhiwj
* @Description:
...
...
@@ -23,6 +27,8 @@ public class DataExplainController {
@Autowired
private
DataExplainApiService
dataExplainApiService
;
@Autowired
private
IndexLogApiService
indexLogApiService
;
@RequestMapping
(
"/saveDataExplain"
)
public
RestResponse
saveDataExplain
(
DataExplainDTO
dataExplainDTO
)
{
...
...
@@ -51,4 +57,10 @@ public class DataExplainController {
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
}
@RequestMapping
(
"/dataExplainLog"
)
public
RestResponse
dataExplainLog
(
Integer
dataExplainId
)
{
ServiceResponse
<
List
<
IndexLogDTO
>>
serviceResponse
=
indexLogApiService
.
listDataExplainLog
(
dataExplainId
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
}
\ No newline at end of file
gic-data-cloud-operation-web/src/main/java/com/gic/cloud/operation/web/controller/IndexController.java
View file @
2b9bacdb
...
...
@@ -5,9 +5,10 @@ import com.gic.api.base.commons.ServiceResponse;
import
com.gic.authcenter.security.core.dto.UserDetailsVO
;
import
com.gic.authcenter.security.core.util.UserUtils
;
import
com.gic.cloud.dto.IndexDTO
;
import
com.gic.cloud.dto.IndexLogDTO
;
import
com.gic.cloud.qo.IndexQO
;
import
com.gic.cloud.service.DataExplainApiService
;
import
com.gic.cloud.service.IndexApiService
;
import
com.gic.cloud.service.IndexLogApiService
;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.enterprise.error.ErrorCode
;
import
com.gic.enterprise.utils.ResultControllerUtils
;
...
...
@@ -16,6 +17,8 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.List
;
/**
* @author zhiwj
* @Description:
...
...
@@ -27,7 +30,8 @@ public class IndexController {
@Autowired
private
IndexApiService
indexApiService
;
@Autowired
private
DataExplainApiService
dataExplainApiService
;
private
IndexLogApiService
indexLogApiService
;
@RequestMapping
(
"/saveIndex"
)
public
RestResponse
saveIndex
(
IndexDTO
indexDTO
)
{
...
...
@@ -64,4 +68,11 @@ public class IndexController {
ServiceResponse
<
Page
<
IndexDTO
>>
serviceResponse
=
indexApiService
.
listIndex
(
indexQO
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
@RequestMapping
(
"/indexLog"
)
public
RestResponse
indexLog
(
Integer
indexId
)
{
ServiceResponse
<
List
<
IndexLogDTO
>>
serviceResponse
=
indexLogApiService
.
listIndexLog
(
indexId
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
}
\ No newline at end of file
gic-data-cloud-operation-web/src/main/resources/dubbo-gic-data-cloud-operation-web.xml
View file @
2b9bacdb
...
...
@@ -94,6 +94,7 @@
<dubbo:reference
interface=
"com.gic.member.config.api.service.MemberCardApiService"
id=
"memberCardApiService"
timeout=
"6000"
/>
<dubbo:reference
interface=
"com.gic.cloud.service.IndexApiService"
id=
"indexApiService"
timeout=
"6000"
retries=
"0"
/>
<dubbo:reference
interface=
"com.gic.cloud.service.IndexLogApiService"
id=
"indexLogApiService"
timeout=
"6000"
retries=
"0"
/>
<dubbo:reference
interface=
"com.gic.cloud.service.DataExplainApiService"
id=
"dataExplainApiService"
timeout=
"6000"
retries=
"0"
/>
...
...
gic-data-cloud-service/src/main/resources/dubbo-gic-data-cloud-service.xml
View file @
2b9bacdb
...
...
@@ -22,5 +22,6 @@
<dubbo:service
interface=
"com.gic.cloud.service.DataAuthApiService"
ref=
"dataAuthApiService"
timeout=
"6000"
/>
<dubbo:service
interface=
"com.gic.cloud.service.DataExplainApiService"
ref=
"dataExplainApiService"
timeout=
"6000"
/>
<dubbo:service
interface=
"com.gic.cloud.service.IndexApiService"
ref=
"indexApiService"
timeout=
"6000"
/>
<dubbo:service
interface=
"com.gic.cloud.service.IndexLogApiService"
ref=
"indexLogApiService"
timeout=
"6000"
/>
<dubbo:service
interface=
"com.gic.cloud.service.TempStoreConditionApiService"
ref=
"tempStoreConditionApiService"
timeout=
"6000"
/>
</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