Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
an-plus-hr
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
anjia-hr
an-plus-hr
Commits
2490a23b
Commit
2490a23b
authored
Dec 12, 2025
by
刘斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 去掉默认草稿状态
parent
59500381
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
EmployeeInfoServImpl.java
...java/com/anplus/hr/service/impl/EmployeeInfoServImpl.java
+2
-2
EmployeePartTimeInfoServImpl.java
.../anplus/hr/service/impl/EmployeePartTimeInfoServImpl.java
+1
-1
No files found.
admin/src/main/java/com/anplus/hr/service/impl/EmployeeInfoServImpl.java
View file @
2490a23b
...
...
@@ -480,7 +480,7 @@ public class EmployeeInfoServImpl extends ServiceImpl<EmployeeInfoMapper, Employ
// EmployeeDeptCheckAndSaveParam checkAndSaveParam =
// new EmployeeDeptCheckAndSaveParam(deptNameGroups, SecurityUtils.getCurrentUserId(), SecurityUtils.getTenantId());
// employeeDeptServ.checkAndSaveDept(checkAndSaveParam);
employeeInfo
.
setEntryApplyStatus
(
HrFlowEnum
.
DRAFT
.
getStatus
());
//
employeeInfo.setEntryApplyStatus(HrFlowEnum.DRAFT.getStatus());
employeeInfo
.
setStatus
(
HrStatusEnum
.
DRAFT
.
getStatus
());
familyMembersCmdExe
.
updateEmergencyInfo
(
param
.
getFamilyMembers
(),
employeeInfo
);
boolean
flag
=
this
.
save
(
employeeInfo
);
...
...
@@ -530,7 +530,7 @@ public class EmployeeInfoServImpl extends ServiceImpl<EmployeeInfoMapper, Employ
EmployeeInfo
employeeInfo
=
MapstructUtils
.
convert
(
param
,
EmployeeInfo
.
class
);
// 更新员工年龄组
EmployeeInfoCalcUtils
.
calcAgeGroup
(
employeeInfo
);
employeeInfo
.
setEntryApplyStatus
(
HrFlowEnum
.
DRAFT
.
getStatus
());
//
employeeInfo.setEntryApplyStatus(HrFlowEnum.DRAFT.getStatus());
employeeInfo
.
setStatus
(
HrStatusEnum
.
DRAFT
.
getStatus
());
familyMembersCmdExe
.
updateEmergencyInfo
(
param
.
getFamilyMembers
(),
employeeInfo
);
boolean
flag
=
this
.
save
(
employeeInfo
);
...
...
admin/src/main/java/com/anplus/hr/service/impl/EmployeePartTimeInfoServImpl.java
View file @
2490a23b
...
...
@@ -226,7 +226,7 @@ public class EmployeePartTimeInfoServImpl extends ServiceImpl<EmployeeInfoMapper
// 更新员工年龄组
EmployeeInfoCalcUtils
.
calcAgeGroup
(
employeePartTimeInfo
);
employeePartTimeInfo
.
setPartTimeFlag
(
HrEmployeeConstants
.
YES
);
employeePartTimeInfo
.
setEntryApplyStatus
(
HrFlowEnum
.
DRAFT
.
getStatus
());
//
employeePartTimeInfo.setEntryApplyStatus(HrFlowEnum.DRAFT.getStatus());
employeePartTimeInfo
.
setStatus
(
HrStatusEnum
.
DRAFT
.
getStatus
());
return
this
.
save
(
employeePartTimeInfo
);
}
...
...
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