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
97b243a5
Commit
97b243a5
authored
Jul 23, 2025
by
chenyuxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 瓜子交互调整
parent
040dd44c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
TGzContractServiceImpl.java
...v1/yifu/archives/service/impl/TGzContractServiceImpl.java
+4
-1
TGzPushHandleServiceImpl.java
.../yifu/archives/service/impl/TGzPushHandleServiceImpl.java
+13
-0
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TGzContractServiceImpl.java
View file @
97b243a5
...
...
@@ -65,7 +65,10 @@ public class TGzContractServiceImpl implements TGzContractService {
TGzEmpInfo
gzEmpInfo
=
tGzEmpInfoMapper
.
getInfoByOfferId
(
offerId
);
if
(
Common
.
isNotNull
(
gzEmpInfo
))
{
// 确认 用合同编号(用户在页面上填写的)
gzEmpInfo
.
setContractNum
(
contractInfo
.
getContractNo
());
// gzEmpInfo.setContractNum(contractInfo.getContractNo());
// 1.7.13: 换成用合同申请号
gzEmpInfo
.
setContractNum
(
contractInfo
.
getApplyNo
());
// 客服申请处选择“标准合同”传“外签-劳动合同 ”;“实习协议”传“外签-实习协议 ”
if
(
"标准合同"
.
equals
(
contractInfo
.
getContractName
()))
{
gzEmpInfo
.
setContractType
(
"1E"
);
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TGzPushHandleServiceImpl.java
View file @
97b243a5
...
...
@@ -20,6 +20,7 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import
com.yifu.cloud.plus.v1.yifu.archives.config.GzConfig
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.*
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TGzEmpInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TGzOfferInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.*
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.*
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
...
...
@@ -56,6 +57,8 @@ public class TGzPushHandleServiceImpl implements TGzPushHandleService {
private
final
TGzEmpInfoMapper
tGzEmpInfoMapper
;
private
final
TGzOfferInfoMapper
tGzOfferInfoMapper
;
private
final
TGzEmpInfoService
tGzEmpInfoService
;
private
final
TAttaInfoService
tAttaInfoService
;
...
...
@@ -172,6 +175,16 @@ public class TGzPushHandleServiceImpl implements TGzPushHandleService {
Map
<
String
,
Object
>
params
=
new
HashMap
<>();
params
.
put
(
"bizId"
,
pushInfo
.
getBizId
());
params
.
put
(
"status"
,
pushInfo
.
getTaskType
());
// 获取offer的信息,拿邮箱和手机号
TGzOfferInfo
findOffer
=
tGzOfferInfoMapper
.
selectOne
(
Wrappers
.<
TGzOfferInfo
>
query
().
lambda
()
.
eq
(
TGzOfferInfo:
:
getBizId
,
pushInfo
.
getBizId
())
.
eq
(
TGzOfferInfo:
:
getDelFlag
,
CommonConstants
.
ZERO_STRING
)
.
last
(
CommonConstants
.
LAST_ONE_SQL
));
if
(
Common
.
isNotNull
(
findOffer
)){
params
.
put
(
"phone"
,
findOffer
.
getPhone
());
params
.
put
(
"email"
,
findOffer
.
getEmail
());
}
// 调瓜子接口
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