Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
java_seaskyflowportal
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
班迪
java_seaskyflowportal
Commits
ea2081f6
Commit
ea2081f6
authored
10 months ago
by
chenmin
Browse files
Options
Downloads
Patches
Plain Diff
外贸加签人判定
parent
e49d2cb6
Branches
Branches containing commit
1 merge request
!136
外贸加签人判定
Pipeline
#156440
canceled with stage
Stage:
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ServiceSite/src/main/java/com/seasky/flowportal/service/impl/WaiMao_VerifyReimbursementServiceImpl.java
+15
-12
15 additions, 12 deletions
...l/service/impl/WaiMao_VerifyReimbursementServiceImpl.java
with
15 additions
and
12 deletions
ServiceSite/src/main/java/com/seasky/flowportal/service/impl/WaiMao_VerifyReimbursementServiceImpl.java
+
15
−
12
View file @
ea2081f6
...
...
@@ -122,21 +122,24 @@ public class WaiMao_VerifyReimbursementServiceImpl extends VerifyReimbursementSe
}
private
boolean
needAddSigner
(
ExpenseReimbursementCmd
cmd
)
{
boolean
a
ddSigner
=
cmd
.
getFundsProjectCodeList
().
stream
().
none
Match
(
code
->
boolean
notA
ddSigner
=
cmd
.
getFundsProjectCodeList
().
stream
().
any
Match
(
code
->
ObjectUtils
.
isNotEmpty
(
code
)
&&
code
.
length
()
>=
3
&&
'C'
==
Character
.
toUpperCase
(
code
.
charAt
(
2
))
);;
if
(!
addSigner
)
addSigner
=
checkApplyUserEqualsProjectCharge
(
cmd
);
if
(!
addSigner
)
{
if
(
OrderTypesEnum
.
isSalary
(
cmd
.
getOrderType
()))
{
ExtendFieldCmd
extendFieldCmd
=
cmd
.
getExtendFieldCmd
();
Map
<
String
,
Boolean
>
payeeContainingMap
=
ObjectUtils
.
isEmpty
(
extendFieldCmd
)
?
null
:
extendFieldCmd
.
getPayeeContainingMap
();
addSigner
=
ObjectUtils
.
isNotEmpty
(
payeeContainingMap
)
&&
payeeContainingMap
.
get
(
"0"
);
);
boolean
addSigner
=
false
;
if
(!
notAddSigner
)
{
if
(!
addSigner
)
addSigner
=
checkApplyUserEqualsProjectCharge
(
cmd
);
if
(!
addSigner
)
{
if
(
OrderTypesEnum
.
isSalary
(
cmd
.
getOrderType
()))
{
ExtendFieldCmd
extendFieldCmd
=
cmd
.
getExtendFieldCmd
();
Map
<
String
,
Boolean
>
payeeContainingMap
=
ObjectUtils
.
isEmpty
(
extendFieldCmd
)
?
null
:
extendFieldCmd
.
getPayeeContainingMap
();
addSigner
=
ObjectUtils
.
isNotEmpty
(
payeeContainingMap
)
&&
payeeContainingMap
.
get
(
"0"
);
}
else
addSigner
=
super
.
checkPayeeEqualsProjectCharge
(
cmd
);
}
else
addSigner
=
super
.
checkPayeeEqualsProjectCharge
(
cmd
);
}
if
(!
addSigner
)
{
if
(
notAddSigner
||
!
addSigner
)
{
List
<
String
>
claimsEndorserNoList
=
cmd
.
getClaimsEndorserNoList
();
if
(
ObjectUtils
.
isEmpty
(
claimsEndorserNoList
))
{
String
processInstanceId
=
cmd
.
getProcessInstanceId
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment