Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
21e7c601
Commit
21e7c601
authored
Jul 04, 2022
by
翁国栋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
8小时后台--
无抄送人时直接跳过
parent
b75abcfa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/main/java/cn/timer/api/controller/spmk/SpmkController.java
+7
-0
No files found.
src/main/java/cn/timer/api/controller/spmk/SpmkController.java
View file @
21e7c601
...
@@ -1128,6 +1128,11 @@ public class SpmkController {
...
@@ -1128,6 +1128,11 @@ public class SpmkController {
* @return
* @return
*/
*/
private
boolean
isTrue
(
List
<
Router
>
olist
,
List
<
Router
>
list
){
private
boolean
isTrue
(
List
<
Router
>
olist
,
List
<
Router
>
list
){
if
(
olist
.
size
()==
0
&&
list
.
size
()==
0
){
return
false
;
}
else
if
(
olist
.
size
()!=
list
.
size
()){
return
true
;
}
if
(
list
.
get
(
0
).
getClassName
().
equals
(
"audit"
)&&
list
.
get
(
0
).
getName
().
equals
(
"审批人"
)){
if
(
list
.
get
(
0
).
getClassName
().
equals
(
"audit"
)&&
list
.
get
(
0
).
getName
().
equals
(
"审批人"
)){
if
(
list
.
get
(
0
).
getRelation
().
get
(
0
).
getType
().
equals
(
"executive"
)&&
list
.
get
(
0
).
getRelation
().
get
(
0
).
getName
().
equals
(
"主管"
)){
if
(
list
.
get
(
0
).
getRelation
().
get
(
0
).
getType
().
equals
(
"executive"
)&&
list
.
get
(
0
).
getRelation
().
get
(
0
).
getName
().
equals
(
"主管"
)){
return
isTrue
(
olist
.
get
(
0
).
getChildren
(),
list
.
get
(
0
).
getChildren
());
return
isTrue
(
olist
.
get
(
0
).
getChildren
(),
list
.
get
(
0
).
getChildren
());
...
@@ -1137,6 +1142,8 @@ public class SpmkController {
...
@@ -1137,6 +1142,8 @@ public class SpmkController {
}
else
{
}
else
{
return
isTrue
(
olist
.
get
(
0
).
getChildren
(),
list
.
get
(
0
).
getChildren
());
return
isTrue
(
olist
.
get
(
0
).
getChildren
(),
list
.
get
(
0
).
getChildren
());
}
}
}
else
if
(
list
.
get
(
0
).
getClassName
().
equals
(
"copy"
)&&
list
.
get
(
0
).
getName
().
equals
(
"抄送人"
)){
return
false
;
}
}
return
false
;
return
false
;
}
}
...
...
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