Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
platform
/
platform-process-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6b818608
authored
Sep 25, 2023
by
谢海旭
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
调整模板实例名生成规则
1 parent
bd34af00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
platform-process/src/main/java/cn/com/glsx/process/modules/service/SopInstService.java
platform-process/src/main/java/cn/com/glsx/process/modules/service/SopInstService.java
View file @
6b81860
...
@@ -298,6 +298,7 @@ public class SopInstService {
...
@@ -298,6 +298,7 @@ public class SopInstService {
Integer
grantId
=
sopTplGrant
.
getGrantId
();
Integer
grantId
=
sopTplGrant
.
getGrantId
();
//克隆模板内容
//克隆模板内容
SopInst
sopInst
=
sopTplConverter
.
dto2inst
(
sopTplDTO
);
SopInst
sopInst
=
sopTplConverter
.
dto2inst
(
sopTplDTO
);
sopInst
.
setInstName
(
String
.
format
(
"%s-%s"
,
sopTplGrant
.
getGroupName
(),
sopTplDTO
.
getTplName
()));
sopInst
.
setInstId
(
tplId
+
grantId
);
sopInst
.
setInstId
(
tplId
+
grantId
);
sopInst
.
setGrantId
(
grantId
);
sopInst
.
setGrantId
(
grantId
);
sopInst
.
setCreateTime
(
date
);
sopInst
.
setCreateTime
(
date
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment