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
99e0d896
Commit
99e0d896
authored
Apr 23, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.10-更新档案
parent
7020d160
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
TEmployeeInfoServiceImpl.java
.../yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
+4
-1
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
View file @
99e0d896
...
...
@@ -4237,9 +4237,12 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
// 6:如果手机号new未被使用,则更新手机号,并返回提示语:更新成功
TEmployeeInfo
emp
=
this
.
getById
(
id
);
if
(
emp
!=
null
)
{
if
(!
emp
.
getEmpPhone
().
equals
(
empPhoneOld
))
{
return
R
.
failed
(
"旧手机号发生变化,请重新获取档案信息!"
);
}
TEmployeeInfo
empExist
=
baseMapper
.
selectOne
(
new
LambdaQueryWrapper
<
TEmployeeInfo
>().
eq
(
TEmployeeInfo:
:
getEmpPhone
,
empPhoneNew
));
if
(
empExist
!=
null
)
{
return
R
.
failed
(
"手机号已被
其他身份证
使用"
);
return
R
.
failed
(
"手机号已被使用"
);
}
TCheckMobile
checkMobile
=
new
TCheckMobile
();
checkMobile
.
setMobile
(
empPhoneNew
);
...
...
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