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
f6218156
Commit
f6218156
authored
Aug 19, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.14-手机号导入校验
parent
553d9477
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
TSalaryEmployeeServiceImpl.java
.../yifu/salary/service/impl/TSalaryEmployeeServiceImpl.java
+10
-11
No files found.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/TSalaryEmployeeServiceImpl.java
View file @
f6218156
...
...
@@ -884,8 +884,6 @@ public class TSalaryEmployeeServiceImpl extends ServiceImpl<TSalaryEmployeeMappe
empMap
.
put
(
e
.
getEmpIdcard
(),
e
);
}
TSalaryEmployee
emp
;
// 开户行省市的区域暂存
String
areaStr
;
...
...
@@ -1184,18 +1182,19 @@ public class TSalaryEmployeeServiceImpl extends ServiceImpl<TSalaryEmployeeMappe
for
(
TSalaryEmployee
e
:
empList
)
{
empMap
.
put
(
e
.
getEmpIdcard
(),
e
);
}
List
<
TSalaryEmployee
>
empPhoneList
=
baseMapper
.
getListByPhone
(
phoneList
);
// 人员手机号Map
Map
<
String
,
List
<
String
>>
empPhoneMap
=
new
HashMap
<>();
// 人员手机号Map
List
<
String
>
phoneIdCardList
;
for
(
TSalaryEmployee
e
:
empPhoneList
)
{
phoneIdCardList
=
empPhoneMap
.
get
(
e
.
getEmpPhone
());
if
(
phoneIdCardList
==
null
)
{
phoneIdCardList
=
new
ArrayList
<>();
if
(!
phoneList
.
isEmpty
())
{
List
<
TSalaryEmployee
>
empPhoneList
=
baseMapper
.
getListByPhone
(
phoneList
);
for
(
TSalaryEmployee
e
:
empPhoneList
)
{
phoneIdCardList
=
empPhoneMap
.
get
(
e
.
getEmpPhone
());
if
(
phoneIdCardList
==
null
)
{
phoneIdCardList
=
new
ArrayList
<>();
}
phoneIdCardList
.
add
(
e
.
getEmpIdcard
());
empPhoneMap
.
put
(
e
.
getEmpPhone
(),
phoneIdCardList
);
}
phoneIdCardList
.
add
(
e
.
getEmpIdcard
());
empPhoneMap
.
put
(
e
.
getEmpPhone
(),
phoneIdCardList
);
}
TSalaryEmployee
emp
;
// 开户行省市的区域暂存
...
...
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