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
a42fe908
Commit
a42fe908
authored
Nov 24, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.17-离职待办-派单暂存
parent
68ebc121
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
EmployeeRegistrationLeaveServiceImpl.java
...sp/service/impl/EmployeeRegistrationLeaveServiceImpl.java
+12
-0
No files found.
yifu-csp/yifu-csp-biz/src/main/java/com/yifu/cloud/plus/v1/csp/service/impl/EmployeeRegistrationLeaveServiceImpl.java
View file @
a42fe908
...
@@ -801,6 +801,10 @@ public class EmployeeRegistrationLeaveServiceImpl extends ServiceImpl<EmployeeRe
...
@@ -801,6 +801,10 @@ public class EmployeeRegistrationLeaveServiceImpl extends ServiceImpl<EmployeeRe
@Override
@Override
public
R
<
String
>
doSure
(
EmployeeRegistrationLeave
leave
)
{
public
R
<
String
>
doSure
(
EmployeeRegistrationLeave
leave
)
{
YifuUser
user
=
SecurityUtils
.
getUser
();
if
(
user
==
null
)
{
return
R
.
failed
(
"请登录"
);
}
if
(
leave
!=
null
&&
Common
.
isNotNull
(
leave
.
getId
()))
{
if
(
leave
!=
null
&&
Common
.
isNotNull
(
leave
.
getId
()))
{
EmployeeRegistrationLeave
leaveOld
=
this
.
getById
(
leave
.
getId
());
EmployeeRegistrationLeave
leaveOld
=
this
.
getById
(
leave
.
getId
());
EmployeeRegistration
registrationOld
=
employeeRegistrationMapper
.
selectById
(
leave
.
getId
());
EmployeeRegistration
registrationOld
=
employeeRegistrationMapper
.
selectById
(
leave
.
getId
());
...
@@ -834,6 +838,8 @@ public class EmployeeRegistrationLeaveServiceImpl extends ServiceImpl<EmployeeRe
...
@@ -834,6 +838,8 @@ public class EmployeeRegistrationLeaveServiceImpl extends ServiceImpl<EmployeeRe
}
}
this
.
judgeStatus
(
leave
);
this
.
judgeStatus
(
leave
);
leave
.
setLeaveStatus
(
CommonConstants
.
ONE_STRING
);
leave
.
setLeaveStatus
(
CommonConstants
.
ONE_STRING
);
leave
.
setConfirmUser
(
user
.
getNickname
());
leave
.
setConfirmTime
(
LocalDateTime
.
now
());
this
.
updateById
(
leave
);
this
.
updateById
(
leave
);
// 离职待办确认后,更新为商险续签待办为已离职
// 离职待办确认后,更新为商险续签待办为已离职
...
@@ -855,6 +861,10 @@ public class EmployeeRegistrationLeaveServiceImpl extends ServiceImpl<EmployeeRe
...
@@ -855,6 +861,10 @@ public class EmployeeRegistrationLeaveServiceImpl extends ServiceImpl<EmployeeRe
@Override
@Override
public
R
<
String
>
doSureBatch
(
BatchSureLeaveVo
vo
)
{
public
R
<
String
>
doSureBatch
(
BatchSureLeaveVo
vo
)
{
YifuUser
user
=
SecurityUtils
.
getUser
();
if
(
user
==
null
)
{
return
R
.
failed
(
"请登录"
);
}
List
<
String
>
ids
=
vo
.
getIds
();
List
<
String
>
ids
=
vo
.
getIds
();
if
(
Common
.
isEmpty
(
ids
))
{
if
(
Common
.
isEmpty
(
ids
))
{
return
R
.
failed
(
CommonConstants
.
PARAM_IS_NOT_ERROR
);
return
R
.
failed
(
CommonConstants
.
PARAM_IS_NOT_ERROR
);
...
@@ -935,6 +945,8 @@ public class EmployeeRegistrationLeaveServiceImpl extends ServiceImpl<EmployeeRe
...
@@ -935,6 +945,8 @@ public class EmployeeRegistrationLeaveServiceImpl extends ServiceImpl<EmployeeRe
paramVoList
.
add
(
paramVo
);
paramVoList
.
add
(
paramVo
);
this
.
judgeStatus
(
leave
);
this
.
judgeStatus
(
leave
);
leave
.
setLeaveStatus
(
CommonConstants
.
ONE_STRING
);
leave
.
setLeaveStatus
(
CommonConstants
.
ONE_STRING
);
leave
.
setConfirmUser
(
user
.
getNickname
());
leave
.
setConfirmTime
(
LocalDateTime
.
now
());
successList
.
add
(
leave
);
successList
.
add
(
leave
);
successNum
++;
successNum
++;
}
}
...
...
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