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 d8e358cf
authored
Jan 08, 2024
by
林永健
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
3fd0142c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
platform-process/src/main/java/cn/com/glsx/process/modules/service/SopDataService.java
platform-process/src/main/java/cn/com/glsx/process/modules/service/SopDataService.java
View file @
d8e358c
...
...
@@ -22,7 +22,6 @@ import org.springframework.stereotype.Service;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.util.StringUtils
;
import
java.text.MessageFormat
;
import
java.util.*
;
import
java.util.stream.Collectors
;
...
...
@@ -248,10 +247,10 @@ public class SopDataService {
return
""
;
}
String
[]
vals
=
operator
.
getValue
().
split
(
"\\+"
);
if
(
vals
.
length
==
0
)
{
return
""
;
if
(
vals
.
length
>
1
)
{
return
condStr
.
replace
(
"[pageType]"
,
vals
[
0
]).
replace
(
"[activityId]"
,
vals
[
1
])
;
}
return
MessageFormat
.
format
(
condStr
.
replaceAll
(
"'"
,
"''"
),
vals
)
;
return
""
;
}
List
<
String
>
operatorStrList
=
new
ArrayList
<>();
for
(
SopDataOperatorDTO
operator
:
condition
.
getOperators
())
{
...
...
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