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
d290d0b3
Commit
d290d0b3
authored
Jul 05, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
45e23745
8bd62c86
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
12 deletions
+20
-12
TEmpContractAlertController.java
...yifu/archives/controller/TEmpContractAlertController.java
+2
-2
TEmpContractAlertServiceImpl.java
...u/archives/service/impl/TEmpContractAlertServiceImpl.java
+18
-10
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TEmpContractAlertController.java
View file @
d290d0b3
...
...
@@ -49,7 +49,6 @@ import java.util.Map;
@RequiredArgsConstructor
@RequestMapping
(
"/tempcontractalert"
)
@Tag
(
name
=
"员工合同续签待办管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
TEmpContractAlertController
{
private
final
TEmpContractAlertService
tEmpContractAlertService
;
...
...
@@ -148,7 +147,8 @@ public class TEmpContractAlertController {
* @Date 2022-07-4
**/
@SysLog
(
"定时任务生成合同续签代码信息"
)
@Inner
@Operation
(
description
=
"定时任务生成合同续签代码信息"
)
//@Inner
@PostMapping
(
"/inner/taskCreateContractAlert"
)
public
R
<
Boolean
>
taskCreateContractAlert
()
{
return
tEmpContractAlertService
.
taskCreateContractAlert
();
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmpContractAlertServiceImpl.java
View file @
d290d0b3
...
...
@@ -259,12 +259,19 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM
alert
.
setEmpIdcard
(
contract
.
getEmpIdcard
());
alert
.
setContractStart
(
LocalDateTimeUtils
.
convertLDToDate
(
contract
.
getContractStart
()));
alert
.
setContractEnd
(
LocalDateTimeUtils
.
convertLDToDate
(
contract
.
getContractEnd
()));
if
(
Common
.
isNotNull
(
contract
.
getFileProvince
())){
alert
.
setFileProvince
(
Integer
.
toString
(
contract
.
getFileProvince
()));
}
if
(
Common
.
isNotNull
(
contract
.
getFileCity
())){
alert
.
setFileCity
(
Integer
.
toString
(
contract
.
getFileCity
()));
}
if
(
Common
.
isNotNull
(
contract
.
getFileTown
())){
alert
.
setFileTown
(
Integer
.
toString
(
contract
.
getFileTown
()));
}
alert
.
setEmpType
(
contract
.
getEmpNatrue
());
alert
.
setContractTerm
(
contract
.
getContractType
());
alert
.
setContractTerm
(
contract
.
getContractTerm
());
if
(
Common
.
isNotNull
(
alert
.
getContractEnd
())){
if
(
Common
.
isNotNull
(
contract
.
getContractEnd
())
&&
contract
.
getContractEnd
().
isBefore
(
now
)){
alert
.
setDueFlag
(
CommonConstants
.
ONE_STRING
);
alert
.
setDaysOver
(
DateUtil
.
daysBetween
(
nowDate
,
alert
.
getContractEnd
()));
...
...
@@ -273,6 +280,7 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM
alert
.
setDueFlag
(
CommonConstants
.
ZERO_STRING
);
}
alert
.
setFirstAlertTime
(
DateUtil
.
dateIncreaseByMonth
(
alert
.
getContractEnd
(),
CommonConstants
.
THREE_INT_NEGATE
));
}
alert
.
setHandleStatus
(
CommonConstants
.
ZERO_STRING
);
alertMap
.
put
(
alert
.
getEmpIdcard
(),
alert
);
}
...
...
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