Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
fangxinjiang
yifu-mvp
Commits
478b21f8
Commit
478b21f8
authored
Aug 22, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开户行支行等
parent
7ca16ae5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
SalaryAccountUtil.java
...ifu/cloud/plus/v1/yifu/salary/util/SalaryAccountUtil.java
+29
-0
No files found.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/util/SalaryAccountUtil.java
View file @
478b21f8
...
...
@@ -478,6 +478,7 @@ public class SalaryAccountUtil implements Serializable {
newEmp
.
setUnitNo
(
dept
.
getCustomerCode
());
newEmp
.
setCreateBy
(
String
.
valueOf
(
user
.
getId
()));
newEmp
.
setCreateName
(
user
.
getNickname
());
newEmp
.
setInvoiceTitle
(
invoiceTitle
);
if
(!
"3"
.
equals
(
salaryType
)
&&
!
"4"
.
equals
(
salaryType
))
{
minTaxMonth
=
tSalaryAccountService
.
getMinTaxMonthByNowYear
(
newEmp
.
getEmpIdcard
(),
nowYear
);
if
(
Common
.
isNotNull
(
minTaxMonth
)
...
...
@@ -572,8 +573,21 @@ public class SalaryAccountUtil implements Serializable {
errorList
.
add
(
new
ErrorMessage
((
i
+
2
),
error
));
continue
;
}
if
(
Common
.
isEmpty
(
emp
.
getBankProvince
()))
{
error
=
"第"
+
(
i
+
2
)
+
"行:员工:"
+
emp
.
getEmpIdcard
()
+
"-发放方式为银行发放,但是-开户行省-为空,请去薪酬人员查询处更新!"
;
errorList
.
add
(
new
ErrorMessage
((
i
+
2
),
error
));
continue
;
}
if
(
Common
.
isEmpty
(
emp
.
getBankCity
()))
{
error
=
"第"
+
(
i
+
2
)
+
"行:员工:"
+
emp
.
getEmpIdcard
()
+
"-发放方式为银行发放,但是-开户行市-为空,请去薪酬人员查询处更新!"
;
errorList
.
add
(
new
ErrorMessage
((
i
+
2
),
error
));
continue
;
}
entity
.
setBankName
(
emp
.
getBankName
());
entity
.
setBankNo
(
emp
.
getBankNo
());
entity
.
setBankProvince
(
String
.
valueOf
(
emp
.
getBankProvince
()));
entity
.
setBankCity
(
String
.
valueOf
(
emp
.
getBankCity
()));
entity
.
setBankSubName
(
emp
.
getBankSubName
());
}
else
{
if
(
Common
.
isNotNull
(
emp
.
getBankName
()))
{
entity
.
setBankName
(
emp
.
getBankName
());
...
...
@@ -585,6 +599,21 @@ public class SalaryAccountUtil implements Serializable {
}
else
{
entity
.
setBankNo
(
null
);
}
if
(
Common
.
isNotNull
(
emp
.
getBankSubName
()))
{
entity
.
setBankSubName
(
emp
.
getBankSubName
());
}
else
{
entity
.
setBankSubName
(
null
);
}
if
(
Common
.
isNotNull
(
emp
.
getBankProvince
()))
{
entity
.
setBankProvince
(
String
.
valueOf
(
emp
.
getBankProvince
()));
}
else
{
entity
.
setBankProvince
(
null
);
}
if
(
Common
.
isNotNull
(
emp
.
getBankCity
()))
{
entity
.
setBankCity
(
String
.
valueOf
(
emp
.
getBankCity
()));
}
else
{
entity
.
setBankCity
(
null
);
}
}
if
(!
"3"
.
equals
(
salaryType
)
&&
!
"4"
.
equals
(
salaryType
))
{
if
(
emp
.
getTaxMonth
().
length
()
>
CommonConstants
.
dingleDigitIntArray
[
6
])
{
...
...
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