Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-cost
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huluobin
bailuntec-cost
Commits
99076d07
Commit
99076d07
authored
Jul 01, 2024
by
jianshuqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-07-01后付款主体为“印尼”且币种“IDR”不用总经办审核,直接转财务审核
parent
5ab61768
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
HrCheckState.java
...ther/module/cost/service/impl/costcheck/HrCheckState.java
+9
-2
No files found.
cost-service/src/main/java/com/blt/other/module/cost/service/impl/costcheck/HrCheckState.java
View file @
99076d07
...
@@ -60,13 +60,20 @@ public class HrCheckState extends CostState {
...
@@ -60,13 +60,20 @@ public class HrCheckState extends CostState {
//如果不需要审核 直接通过
//如果不需要审核 直接通过
if
(!
costTemplate
.
shouldHrCheck
(
costDomain
))
{
if
(!
costTemplate
.
shouldHrCheck
(
costDomain
))
{
boolean
isFinancialCheck
=
false
;
//2022-02-11后"广州沃伟科技发展有限公司"不用总经办审核,直接转财务审核
//2022-02-11后"广州沃伟科技发展有限公司"不用总经办审核,直接转财务审核
costDomain
.
setCostStatus
(
StringUtils
.
equals
(
costDomain
.
getCompanyNo
(),
"COM2008121838151"
)
?
CostDomain
.
STATUS_FINANCIAL_CHECK
:
CostDomain
.
STATUS_MANAGER_CHECK
);
if
(
StringUtils
.
equals
(
costDomain
.
getCompanyNo
(),
"COM2008121838151"
))
{
isFinancialCheck
=
true
;
//2024-07-01后付款主体为“印尼”且币种“IDR”不用总经办审核,直接转财务审核
}
else
if
(
StringUtils
.
equals
(
costDomain
.
getCompanyNo
(),
"COM2306081104478"
)
&&
StringUtils
.
equals
(
costDomain
.
getDic
(),
"IDR"
)){
isFinancialCheck
=
true
;
}
costDomain
.
setCostStatus
(
isFinancialCheck
?
CostDomain
.
STATUS_FINANCIAL_CHECK
:
CostDomain
.
STATUS_MANAGER_CHECK
);
costDomain
.
setLastModifyDate
(
LocalDateTime
.
now
());
costDomain
.
setLastModifyDate
(
LocalDateTime
.
now
());
costDao
.
updateById
(
costDomain
);
costDao
.
updateById
(
costDomain
);
//流转状态
//流转状态
nextState
(
StringUtils
.
equals
(
costDomain
.
getCompanyNo
(),
"COM2008121838151"
)
?
financialCheckState
:
generalManagerCheckState
);
nextState
(
isFinancialCheck
?
financialCheckState
:
generalManagerCheckState
);
costSubscribe
.
subscribe
(
costContext
);
costSubscribe
.
subscribe
(
costContext
);
return
;
return
;
...
...
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