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
16b51fdd
Commit
16b51fdd
authored
Aug 19, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
getBankCity
parent
26d9cb54
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
4 deletions
+20
-4
SalaryAccountUtil.java
...ifu/cloud/plus/v1/yifu/salary/util/SalaryAccountUtil.java
+20
-4
No files found.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/util/SalaryAccountUtil.java
View file @
16b51fdd
...
...
@@ -378,10 +378,22 @@ public class SalaryAccountUtil implements Serializable {
continue
;
}
else
{
areaStr
=
ExcelUtil
.
getRedisAreaValue
(
CacheConstants
.
AREA_VALUE
+
entity
.
getBankProvince
().
trim
());
newEmp
.
setBankProvince
(
Integer
.
parseInt
(
areaStr
));
if
(
Common
.
isNotNull
(
areaStr
))
{
newEmp
.
setBankProvince
(
Integer
.
parseInt
(
areaStr
));
}
else
{
error
=
"第"
+
(
i
+
2
)
+
"行:新员工-开户行省错误:"
+
entity
.
getBankProvince
();
errorList
.
add
(
new
ErrorMessage
((
i
+
2
),
error
));
continue
;
}
areaStr
=
ExcelUtil
.
getRedisAreaValue
(
CacheConstants
.
AREA_VALUE
+
entity
.
getBankCity
().
trim
()
+
CommonConstants
.
DOWN_LINE_STRING
+
entity
.
getBankProvince
().
trim
());
newEmp
.
setBankCity
(
Integer
.
parseInt
(
areaStr
));
if
(
Common
.
isNotNull
(
areaStr
))
{
newEmp
.
setBankCity
(
Integer
.
parseInt
(
areaStr
));
}
else
{
error
=
"第"
+
(
i
+
2
)
+
"行:新员工-开户行市错误:"
+
entity
.
getBankCity
();
errorList
.
add
(
new
ErrorMessage
((
i
+
2
),
error
));
continue
;
}
}
if
(
Common
.
isEmpty
(
entity
.
getBankNo
()))
{
error
=
"第"
+
(
i
+
2
)
+
"行:新员工-银行卡号-不可为空!"
;
...
...
@@ -405,11 +417,15 @@ public class SalaryAccountUtil implements Serializable {
}
if
(
Common
.
isNotNull
(
entity
.
getBankProvince
()))
{
areaStr
=
ExcelUtil
.
getRedisAreaValue
(
CacheConstants
.
AREA_VALUE
+
entity
.
getBankProvince
().
trim
());
newEmp
.
setBankProvince
(
Integer
.
parseInt
(
areaStr
));
if
(
Common
.
isNotNull
(
areaStr
))
{
newEmp
.
setBankProvince
(
Integer
.
parseInt
(
areaStr
));
}
if
(
Common
.
isNotNull
(
entity
.
getBankCity
()))
{
areaStr
=
ExcelUtil
.
getRedisAreaValue
(
CacheConstants
.
AREA_VALUE
+
entity
.
getBankCity
().
trim
()
+
CommonConstants
.
DOWN_LINE_STRING
+
entity
.
getBankProvince
().
trim
());
newEmp
.
setBankCity
(
Integer
.
parseInt
(
areaStr
));
if
(
Common
.
isNotNull
(
areaStr
))
{
newEmp
.
setBankCity
(
Integer
.
parseInt
(
areaStr
));
}
}
}
}
...
...
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