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
ed150982
Commit
ed150982
authored
Jun 01, 2023
by
wangzb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature-wzb :退休提醒bug修复
parent
e54977a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
2 deletions
+25
-2
ArchivesConstants.java
...ud/plus/v1/yifu/archives/constants/ArchivesConstants.java
+8
-0
TEmployeeRetirementServiceImpl.java
...archives/service/impl/TEmployeeRetirementServiceImpl.java
+17
-2
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/constants/ArchivesConstants.java
View file @
ed150982
...
...
@@ -145,6 +145,14 @@ public class ArchivesConstants {
* 处理状态
*/
public
static
final
String
HANDLE_FLAG_TWO
=
"已处理-未处理"
;
/**
* 处理状态
*/
public
static
final
String
HANDLE_FLAG_THREE
=
"未处理-未处理"
;
/**
* 处理状态
*/
public
static
final
String
HANDLE_FLAG_FOUR
=
"已处理-已处理"
;
public
static
final
int
MYEAR_MONTH
=-
717
;
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeRetirementServiceImpl.java
View file @
ed150982
...
...
@@ -93,7 +93,14 @@ private TEmployeeRetirementFlagDetailMapper tEmployeeRetirementFlagDetailMapper;
if
(
changeHandleFlagAllVo
.
getHandleFlag
()
==
0
)
{
tEmployeeRetirementFlagDetail
.
setDatailId
(
changeHandleFlagAllVo
.
getIds
()[
i
]);
tEmployeeRetirementFlagDetail
.
setContext
(
ArchivesConstants
.
HANDLE_FLAG_TWO
);
TEmployeeRetirement
tEmployeeRetirement
=
tEmployeeRetirementMapper
.
selectById
(
changeHandleFlagAllVo
.
getIds
()[
i
]);
if
(
tEmployeeRetirement
.
getHandleFlag
()==
0
){
tEmployeeRetirementFlagDetail
.
setContext
(
ArchivesConstants
.
HANDLE_FLAG_THREE
);
}
else
{
tEmployeeRetirementFlagDetail
.
setContext
(
ArchivesConstants
.
HANDLE_FLAG_TWO
);
}
tEmployeeRetirementFlagDetail
.
setCreateBy
(
user
.
getId
());
tEmployeeRetirementFlagDetail
.
setCreateName
(
user
.
getNickname
());
tEmployeeRetirementFlagDetail
.
setCreateTime
(
DateTime
.
now
());
...
...
@@ -103,7 +110,15 @@ private TEmployeeRetirementFlagDetailMapper tEmployeeRetirementFlagDetailMapper;
if
(
changeHandleFlagAllVo
.
getHandleFlag
()
==
1
)
{
tEmployeeRetirementFlagDetail
.
setDatailId
(
changeHandleFlagAllVo
.
getIds
()[
i
]);
tEmployeeRetirementFlagDetail
.
setContext
(
ArchivesConstants
.
HANDLE_FLAG_ONE
);
TEmployeeRetirement
tEmployeeRetirement
=
tEmployeeRetirementMapper
.
selectById
(
changeHandleFlagAllVo
.
getIds
()[
i
]);
if
(
tEmployeeRetirement
.
getHandleFlag
()==
1
){
tEmployeeRetirementFlagDetail
.
setContext
(
ArchivesConstants
.
HANDLE_FLAG_FOUR
);
}
else
{
tEmployeeRetirementFlagDetail
.
setContext
(
ArchivesConstants
.
HANDLE_FLAG_ONE
);
}
tEmployeeRetirementFlagDetail
.
setCreateBy
(
user
.
getId
());
tEmployeeRetirementFlagDetail
.
setCreateName
(
user
.
getNickname
());
tEmployeeRetirementFlagDetail
.
setCreateTime
(
DateTime
.
now
());
...
...
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