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 f9eea4a4
authored
Jan 16, 2024
by
林永健
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
实例已启动无法修改阶段条件
1 parent
0175c46e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 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 @
f9eea4a
...
@@ -260,6 +260,11 @@ public class SopInstService {
...
@@ -260,6 +260,11 @@ public class SopInstService {
result
.
setMessage
(
"模板实例不存在或已关闭"
);
result
.
setMessage
(
"模板实例不存在或已关闭"
);
return
result
;
return
result
;
}
}
if
(
sopInst
.
getInstStatus
().
equals
(
SopInstStatusEnum
.
NORMAL
.
getValue
()))
{
result
=
Result
.
failure
();
result
.
setMessage
(
"模板实例已开启,此参数不允许再变更"
);
return
result
;
}
String
stagesStr
=
JacksonUtil
.
writeValueAsString
(
stageData
);
String
stagesStr
=
JacksonUtil
.
writeValueAsString
(
stageData
);
// 合并stages数据
// 合并stages数据
String
oldStagesStr
=
JacksonUtil
.
getStrValueInJsonStrByPath
(
sopInst
.
getInstParam
(),
"stages"
);
String
oldStagesStr
=
JacksonUtil
.
getStrValueInJsonStrByPath
(
sopInst
.
getInstParam
(),
"stages"
);
...
...
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