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
279314bd
Commit
279314bd
authored
Jul 15, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
模块分组
parent
39f4c212
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
DataExplainController.java
...cloud/operation/web/controller/DataExplainController.java
+7
-7
IndexController.java
...m/gic/cloud/operation/web/controller/IndexController.java
+7
-7
No files found.
gic-data-cloud-operation-web/src/main/java/com/gic/cloud/operation/web/controller/DataExplainController.java
View file @
279314bd
...
...
@@ -32,7 +32,7 @@ public class DataExplainController {
@Autowired
private
IndexLogApiService
indexLogApiService
;
@RequestMapping
(
"/save
DataE
xplain"
)
@RequestMapping
(
"/save
-data-e
xplain"
)
public
RestResponse
saveDataExplain
(
DataExplainDTO
dataExplainDTO
)
{
if
(
StringUtils
.
isBlank
(
dataExplainDTO
.
getDataName
())
||
StringUtils
.
isBlank
(
dataExplainDTO
.
getIndexRemark
()))
{
return
RestResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
ErrorCode
.
PARAMETER_ERROR
.
getMsg
());
...
...
@@ -41,37 +41,37 @@ public class DataExplainController {
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
@RequestMapping
(
"/update
DataE
xplain"
)
@RequestMapping
(
"/update
-data-e
xplain"
)
public
RestResponse
updateDataExplain
(
DataExplainDTO
dataExplainDTO
,
Integer
updateType
,
String
reason
)
{
ServiceResponse
<
Void
>
serviceResponse
=
dataExplainApiService
.
updateDataExplain
(
dataExplainDTO
,
updateType
,
reason
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
@RequestMapping
(
"/get
ByDataExplainI
d"
)
@RequestMapping
(
"/get
-by-data-explain-i
d"
)
public
RestResponse
getByDataExplainId
(
Integer
dataExplainId
)
{
ServiceResponse
<
DataExplainDTO
>
serviceResponse
=
dataExplainApiService
.
getByDataExplainId
(
dataExplainId
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
@RequestMapping
(
"/list
DataE
xplain"
)
@RequestMapping
(
"/list
-data-e
xplain"
)
public
RestResponse
listDataExplain
(
DataExplainQO
dataExplainQO
)
{
ServiceResponse
<
Page
<
DataExplainDTO
>>
serviceResponse
=
dataExplainApiService
.
listDataExplain
(
dataExplainQO
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
@RequestMapping
(
"/data
ExplainL
og"
)
@RequestMapping
(
"/data
-explain-l
og"
)
public
RestResponse
dataExplainLog
(
Integer
dataExplainId
)
{
ServiceResponse
<
List
<
IndexLogDTO
>>
serviceResponse
=
indexLogApiService
.
listDataExplainLog
(
dataExplainId
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
@RequestMapping
(
"/delete
DataE
xplain"
)
@RequestMapping
(
"/delete
-data-e
xplain"
)
public
RestResponse
delete
(
Integer
dataExplainId
)
{
ServiceResponse
<
Void
>
serviceResponse
=
dataExplainApiService
.
delete
(
dataExplainId
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
@RequestMapping
(
"/publish
DataE
xplain"
)
@RequestMapping
(
"/publish
-data-e
xplain"
)
public
RestResponse
publishIndex
(
String
dataExplainIds
)
{
if
(
StringUtils
.
isBlank
(
dataExplainIds
))
{
return
RestResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
ErrorCode
.
PARAMETER_ERROR
.
getMsg
());
...
...
gic-data-cloud-operation-web/src/main/java/com/gic/cloud/operation/web/controller/IndexController.java
View file @
279314bd
...
...
@@ -39,7 +39,7 @@ public class IndexController {
private
IndexLogApiService
indexLogApiService
;
@RequestMapping
(
"/save
I
ndex"
)
@RequestMapping
(
"/save
-i
ndex"
)
public
RestResponse
saveIndex
(
IndexDTO
indexDTO
,
String
relModuleIds
)
{
if
(
indexDTO
.
getClassifyType
()
==
null
||
StringUtils
.
isBlank
(
indexDTO
.
getCode
())
||
...
...
@@ -58,7 +58,7 @@ public class IndexController {
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
@RequestMapping
(
"/update
I
ndex"
)
@RequestMapping
(
"/update
-i
ndex"
)
public
RestResponse
updateIndex
(
IndexDTO
indexDTO
,
Integer
updateType
,
String
reason
)
{
if
(
indexDTO
.
getIndexId
()
==
null
||
updateType
==
null
)
{
return
RestResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
ErrorCode
.
PARAMETER_ERROR
.
getMsg
());
...
...
@@ -67,31 +67,31 @@ public class IndexController {
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
@RequestMapping
(
"/get
ByIndexI
d"
)
@RequestMapping
(
"/get
-by-index-i
d"
)
public
RestResponse
getByIndexId
(
Integer
indexId
)
{
ServiceResponse
<
IndexDTO
>
serviceResponse
=
indexApiService
.
getByIndexId
(
indexId
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
@RequestMapping
(
"/list
I
ndex"
)
@RequestMapping
(
"/list
-i
ndex"
)
public
RestResponse
listIndex
(
IndexQO
indexQO
)
{
ServiceResponse
<
Page
<
IndexDTO
>>
serviceResponse
=
indexApiService
.
listIndex
(
indexQO
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
@RequestMapping
(
"/index
L
og"
)
@RequestMapping
(
"/index
-l
og"
)
public
RestResponse
indexLog
(
Integer
indexId
)
{
ServiceResponse
<
List
<
IndexLogDTO
>>
serviceResponse
=
indexLogApiService
.
listIndexLog
(
indexId
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
@RequestMapping
(
"/delete
I
ndex"
)
@RequestMapping
(
"/delete
-i
ndex"
)
public
RestResponse
delete
(
Integer
indexId
)
{
ServiceResponse
<
Void
>
serviceResponse
=
indexApiService
.
delete
(
indexId
);
return
ResultControllerUtils
.
commonResult
(
serviceResponse
);
}
@RequestMapping
(
"/publish
I
ndex"
)
@RequestMapping
(
"/publish
-i
ndex"
)
public
RestResponse
publishIndex
(
String
indexIds
)
{
if
(
StringUtils
.
isBlank
(
indexIds
))
{
return
RestResponse
.
failure
(
ErrorCode
.
PARAMETER_ERROR
.
getCode
(),
ErrorCode
.
PARAMETER_ERROR
.
getMsg
());
...
...
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