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
6a59ecd7
Commit
6a59ecd7
authored
Mar 28, 2025
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huych-入职登记提交
parent
a8404be4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
EmployeeRegistrationPreService.java
...yifu/archives/service/EmployeeRegistrationPreService.java
+2
-0
EmployeeRegistrationPreServiceImpl.java
...ives/service/impl/EmployeeRegistrationPreServiceImpl.java
+13
-0
TPreEmpMainServiceImpl.java
...v1/yifu/archives/service/impl/TPreEmpMainServiceImpl.java
+4
-0
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/EmployeeRegistrationPreService.java
View file @
6a59ecd7
...
...
@@ -86,6 +86,8 @@ public interface EmployeeRegistrationPreService extends IService<EmployeeRegistr
void
updatePreStatusToEnd
(
String
deptNo
,
String
empIdcard
);
void
updatePreStatusToOne
(
String
deptNo
,
String
empIdcard
);
// 更新为待审核
void
updatePreStatusToTwo
(
String
deptId
,
String
empIdCard
);
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/EmployeeRegistrationPreServiceImpl.java
View file @
6a59ecd7
...
...
@@ -644,6 +644,19 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
}
}
@Override
public
void
updatePreStatusToOne
(
String
deptNo
,
String
empIdcard
)
{
EmployeeRegistrationPre
registrationPre
=
baseMapper
.
selectOne
(
Wrappers
.<
EmployeeRegistrationPre
>
query
().
lambda
()
.
eq
(
EmployeeRegistrationPre:
:
getEmpIdcard
,
empIdcard
)
.
eq
(
EmployeeRegistrationPre:
:
getDeptNo
,
deptNo
)
.
eq
(
EmployeeRegistrationPre:
:
getProcessStatus
,
CommonConstants
.
TWO_STRING
)
.
last
(
CommonConstants
.
LAST_ONE_SQL
));
if
(
Common
.
isNotNull
(
registrationPre
))
{
registrationPre
.
setProcessStatus
(
CommonConstants
.
ONE_STRING
);
baseMapper
.
updateById
(
registrationPre
);
}
}
@Override
public
void
updatePreStatusToTwo
(
String
deptId
,
String
empIdCard
)
{
EmployeeRegistrationPre
registrationPre
=
baseMapper
.
selectOne
(
Wrappers
.<
EmployeeRegistrationPre
>
query
().
lambda
()
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPreEmpMainServiceImpl.java
View file @
6a59ecd7
...
...
@@ -2877,6 +2877,10 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
PreEmpMainDetailVo
vo
=
voR
.
getData
();
tPreEmpMainLogService
.
save
(
auditLog
);
this
.
updateById
(
preEmpMain
);
if
(
CommonConstants
.
THREE_STRING
.
equals
(
status
))
{
// 更新入职待建档状态为信息待填写
registrationPreService
.
updatePreStatusToOne
(
preEmpMain
.
getDeptNo
(),
preEmpMain
.
getEmpIdcard
());
}
if
(
CommonConstants
.
FOUR_STRING
.
equals
(
status
))
{
// true 简档
boolean
isSimpleBoo
=
false
;
...
...
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