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
659df783
"src/pages/technical-support/doc-manage/index.vue" did not exist on "66973b92893f943bf2888362f138383a57b93342"
Commit
659df783
authored
Mar 11, 2022
by
zhaochengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
赵呈明 --服务修改
parent
62399e68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
14 deletions
+3
-14
src/main/java/com/pms/ocp/service/impl/OcpApiTreeServiceImpl.java
.../java/com/pms/ocp/service/impl/OcpApiTreeServiceImpl.java
+3
-14
No files found.
src/main/java/com/pms/ocp/service/impl/OcpApiTreeServiceImpl.java
View file @
659df783
...
...
@@ -161,7 +161,7 @@ public class OcpApiTreeServiceImpl extends ServiceImpl<OcpApiTreeMapper,OcpApiGr
@Override
public
boolean
insertTree
(
OcpApiGroupDtos
ocpApiGroupDtos
)
{
Timestamp
timestamp
=
new
Timestamp
(
System
.
currentTimeMillis
());
String
code
=
RandomStringUtil
.
getRandomString
(
6
);
boolean
flag
=
true
;
List
<
OcpApiGroup
>
ocpApiGroups
=
mapper
.
selectList
(
null
);
...
...
@@ -173,24 +173,13 @@ public class OcpApiTreeServiceImpl extends ServiceImpl<OcpApiTreeMapper,OcpApiGr
}
if
(
flag
==
true
)
{
OcpApiBase
ocpApiBase
=
new
OcpApiBase
();
ocpApiBase
.
setApiCode
(
ocpApiGroupDtos
.
getApiGroupCode
());
BeanUtils
.
copyProperties
(
ocpApiGroupDtos
,
ocpApiBase
);
ocpApiBase
.
setApiGroupCode
(
code
);
ocpApiBase
.
setApiName
(
"新增服务分类"
);
Timestamp
timestamp
=
new
Timestamp
(
System
.
currentTimeMillis
());
ocpApiBase
.
setApiMtime
(
timestamp
);
ocpApiBase
.
setApiCtime
(
timestamp
);
ocpApiBase
.
setApiUserId
(
ocpApiGroupDtos
.
getApiGroupUserId
());
ocpApiBase
.
setObjId
(
""
);
OcpApiGroup
ocpApiGroup1
=
new
OcpApiGroup
();
ocpApiGroup1
.
setObjId
(
""
);
ocpApiBase
.
setApiMtime
(
timestamp
);
ocpApiGroup1
.
setApiGroupMtime
(
timestamp
);
ocpApiGroup1
.
setApiGroupCtime
(
timestamp
);
BeanUtils
.
copyProperties
(
ocpApiGroupDtos
,
ocpApiGroup1
);
ocpApiGroup1
.
setApiGroupCode
(
code
);
ocpApiBaseMapper
.
insert
(
ocpApiBase
);
mapper
.
insert
(
ocpApiGroup1
);
}
return
flag
;
...
...
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