Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
operation-control-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王锦盛
operation-control-platform
Commits
19dfecbb
Commit
19dfecbb
authored
Mar 30, 2022
by
xxxxxwwwww
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
33edaa13
89cc645a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
src/main/java/com/pms/ocp/model/dto/ApiBaseDto.java
src/main/java/com/pms/ocp/model/dto/ApiBaseDto.java
+18
-0
src/main/resources/mapper/ApiDetailsMapper.xml
src/main/resources/mapper/ApiDetailsMapper.xml
+1
-1
No files found.
src/main/java/com/pms/ocp/model/dto/ApiBaseDto.java
View file @
19dfecbb
...
@@ -21,6 +21,8 @@ public class ApiBaseDto implements Serializable {
...
@@ -21,6 +21,8 @@ public class ApiBaseDto implements Serializable {
@ApiModelProperty
(
"服务编码"
)
@ApiModelProperty
(
"服务编码"
)
private
String
apiCode
;
private
String
apiCode
;
@ApiModelProperty
(
"服务名称"
)
private
String
apiName
;
@ApiModelProperty
(
"服务分类编码"
)
@ApiModelProperty
(
"服务分类编码"
)
private
String
apiGroupCode
;
private
String
apiGroupCode
;
...
@@ -200,4 +202,20 @@ public class ApiBaseDto implements Serializable {
...
@@ -200,4 +202,20 @@ public class ApiBaseDto implements Serializable {
public
void
setApiGroupName
(
String
apiGroupName
)
{
public
void
setApiGroupName
(
String
apiGroupName
)
{
this
.
apiGroupName
=
apiGroupName
;
this
.
apiGroupName
=
apiGroupName
;
}
}
public
String
getApiName
()
{
return
apiName
;
}
public
void
setApiName
(
String
apiName
)
{
this
.
apiName
=
apiName
;
}
public
Integer
getCurrentPage
()
{
return
currentPage
;
}
public
void
setCurrentPage
(
Integer
currentPage
)
{
this
.
currentPage
=
currentPage
;
}
}
}
src/main/resources/mapper/ApiDetailsMapper.xml
View file @
19dfecbb
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
select
select
oab.obj_id,oab.api_code,oae.api_code,oab.api_name,oae.cluster_name,
oab.obj_id,oab.api_code,oae.api_code,oab.api_name,oae.cluster_name,
oae.space_name,oab.api_url,oae.api_state ,oab.api_unit ,oab.api_ctime,oab.api_req,oab.api_resp from ocp_api_base oab
oae.space_name,oab.api_url,oae.api_state ,oab.api_unit ,oab.api_ctime,oab.api_req,oab.api_resp
,oab.api_description
from ocp_api_base oab
LEFT JOIN ocp_api_extent oae
LEFT JOIN ocp_api_extent oae
on oab.api_code = oae.api_code
on oab.api_code = oae.api_code
where oab.is_delete = 0
where oab.is_delete = 0
...
...
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