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
739ce66e
Commit
739ce66e
authored
Jul 02, 2024
by
jianshuqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-07-02后付款主体为“印尼”,“广州赵赵生活科技有限公司”,“zhaozhao life tech limited”,“广州行思数据科技有限公司”不用总经办审核,直接转财务审核
parent
99076d07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
HrCheckState.java
...ther/module/cost/service/impl/costcheck/HrCheckState.java
+5
-7
No files found.
cost-service/src/main/java/com/blt/other/module/cost/service/impl/costcheck/HrCheckState.java
View file @
739ce66e
...
@@ -20,6 +20,7 @@ import org.thymeleaf.util.StringUtils;
...
@@ -20,6 +20,7 @@ import org.thymeleaf.util.StringUtils;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.time.LocalDateTime
;
import
java.time.LocalDateTime
;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.List
;
/**
/**
...
@@ -60,14 +61,11 @@ public class HrCheckState extends CostState {
...
@@ -60,14 +61,11 @@ public class HrCheckState extends CostState {
//如果不需要审核 直接通过
//如果不需要审核 直接通过
if
(!
costTemplate
.
shouldHrCheck
(
costDomain
))
{
if
(!
costTemplate
.
shouldHrCheck
(
costDomain
))
{
boolean
isFinancialCheck
=
false
;
//2022-02-11后"广州沃伟科技发展有限公司"不用总经办审核,直接转财务审核
//2022-02-11后"广州沃伟科技发展有限公司"不用总经办审核,直接转财务审核
if
(
StringUtils
.
equals
(
costDomain
.
getCompanyNo
(),
"COM2008121838151"
))
{
//2024-07-01后付款主体为“印尼”且币种“IDR”不用总经办审核,直接转财务审核
isFinancialCheck
=
true
;
//2024-07-02后付款主体为“印尼”,“广州赵赵生活科技有限公司”,“zhaozhao life tech limited”,“广州行思数据科技有限公司”不用总经办审核,直接转财务审核
//2024-07-01后付款主体为“印尼”且币种“IDR”不用总经办审核,直接转财务审核
String
[]
companyNos
=
{
"COM2008121838151"
,
"COM2306081104478"
,
"COM2404251335512"
,
"COM2405061041166"
,
"COM2405161425523"
};
}
else
if
(
StringUtils
.
equals
(
costDomain
.
getCompanyNo
(),
"COM2306081104478"
)
&&
StringUtils
.
equals
(
costDomain
.
getDic
(),
"IDR"
)){
boolean
isFinancialCheck
=
Arrays
.
asList
(
companyNos
).
contains
(
costDomain
.
getCompanyNo
());
isFinancialCheck
=
true
;
}
costDomain
.
setCostStatus
(
isFinancialCheck
?
CostDomain
.
STATUS_FINANCIAL_CHECK
:
CostDomain
.
STATUS_MANAGER_CHECK
);
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
);
...
...
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