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
76639397
Commit
76639397
authored
Jul 29, 2025
by
chenyuxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 瓜子待签署时更新入职日期,推入职日期
parent
ef1ff3a5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
TEmployeeContractInfoServiceImpl.java
...chives/service/impl/TEmployeeContractInfoServiceImpl.java
+5
-1
TEmployeeInfoServiceImpl.java
.../yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
+2
-0
TGzPushHandleServiceImpl.java
.../yifu/archives/service/impl/TGzPushHandleServiceImpl.java
+5
-0
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeContractInfoServiceImpl.java
View file @
76639397
...
...
@@ -2281,7 +2281,7 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
}
//更新瓜子offer状态
p
ublic
void
updateGzOfferStatus
(
TEmployeeContractInfo
contractInfo
,
String
preStatus
,
String
updStatus
,
String
userId
,
String
nickname
)
{
p
rivate
void
updateGzOfferStatus
(
TEmployeeContractInfo
contractInfo
,
String
preStatus
,
String
updStatus
,
String
userId
,
String
nickname
)
{
if
(
Common
.
isEmpty
(
contractInfo
)){
return
;
}
...
...
@@ -2291,6 +2291,10 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
.
eq
(
TGzOfferInfo:
:
getDelFlag
,
CommonConstants
.
ZERO_STRING
)
.
last
(
CommonConstants
.
LAST_ONE_SQL
));
if
(
Common
.
isNotNull
(
gzOfferInfo
))
{
// updStatus == 13:待签署 更新 入职日期为合同开始时间
if
(
CommonConstants
.
THIRTEEN_STRING
.
equals
(
updStatus
)){
gzOfferInfo
.
setExpEntryDate
(
contractInfo
.
getContractStart
());
}
gzOfferInfo
.
setOfferStatus
(
updStatus
);
gzOfferInfo
.
setUpdateBy
(
userId
);
gzOfferInfo
.
setUpdateTime
(
LocalDateTime
.
now
());
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
View file @
76639397
...
...
@@ -2781,6 +2781,8 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
.
eq
(
TGzOfferInfo:
:
getDelFlag
,
CommonConstants
.
ZERO_STRING
)
.
last
(
CommonConstants
.
LAST_ONE_SQL
));
if
(
Common
.
isNotNull
(
gzOfferInfo
))
{
// 13:待签署 更新 入职日期为合同开始时间
gzOfferInfo
.
setExpEntryDate
(
contract
.
getContractStart
());
gzOfferInfo
.
setOfferStatus
(
CommonConstants
.
THIRTEEN_STRING
);
gzOfferInfoMapper
.
updateById
(
gzOfferInfo
);
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TGzPushHandleServiceImpl.java
View file @
76639397
...
...
@@ -190,6 +190,11 @@ public class TGzPushHandleServiceImpl implements TGzPushHandleService {
params
.
put
(
"email"
,
findOffer
.
getEmail
());
}
// taskType == 13:待签署 推入职日期
if
(
CommonConstants
.
THIRTEEN_STRING
.
equals
(
pushInfo
.
getTaskType
())){
params
.
put
(
"entryDate"
,
findOffer
.
getExpEntryDate
());
}
// 调瓜子接口
Map
<
String
,
String
>
returnMap
=
gzConfig
.
updateGzOfferStatus
(
restTemplate
,
params
);
// 公共处理瓜子返回的信息
...
...
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