Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-staff
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fa25da5d
authored
Apr 01, 2026
by
谢海旭
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
v5.7.1版本 招聘管理:推送调整
1 parent
8e8aa42d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/enums/recruitment/RecruitmentDemandBusinessTypeEnum.java
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/remote/RecruitmentDemandRemoteImpl.java
rpc-dj-staff/src/main/resources/META-INF/orm/RecruitmentDemandMapper.xml
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/enums/recruitment/RecruitmentDemandBusinessTypeEnum.java
View file @
fa25da5
...
@@ -48,6 +48,10 @@ public enum RecruitmentDemandBusinessTypeEnum {
...
@@ -48,6 +48,10 @@ public enum RecruitmentDemandBusinessTypeEnum {
* 9-二手车验车专员
* 9-二手车验车专员
*/
*/
USED_CAR_INSPECTOR
(
"9"
,
"二手车验车专员"
),
USED_CAR_INSPECTOR
(
"9"
,
"二手车验车专员"
),
/**
* 10-洗车工
*/
CAR_WASH_WORKER
(
"10"
,
"洗车工"
),
;
;
private
String
value
;
private
String
value
;
...
@@ -93,7 +97,7 @@ public enum RecruitmentDemandBusinessTypeEnum {
...
@@ -93,7 +97,7 @@ public enum RecruitmentDemandBusinessTypeEnum {
/**
/**
* 判断是否需要推送新增招聘需求消息
* 判断是否需要推送新增招聘需求消息
* 延保、权益、轻改、权益+延保、二手车验车专员需要推送消息
* 延保、权益、轻改、权益+延保、二手车验车专员
、洗车工
需要推送消息
*/
*/
public
static
boolean
needsNewDemandMessage
(
String
businessType
)
{
public
static
boolean
needsNewDemandMessage
(
String
businessType
)
{
if
(
businessType
==
null
)
{
if
(
businessType
==
null
)
{
...
@@ -103,12 +107,13 @@ public enum RecruitmentDemandBusinessTypeEnum {
...
@@ -103,12 +107,13 @@ public enum RecruitmentDemandBusinessTypeEnum {
||
RIGHTS
.
getValue
().
equals
(
businessType
)
||
RIGHTS
.
getValue
().
equals
(
businessType
)
||
LIGHT_MODIFICATION
.
getValue
().
equals
(
businessType
)
||
LIGHT_MODIFICATION
.
getValue
().
equals
(
businessType
)
||
RIGHTS_EXTENDED_WARRANTY
.
getValue
().
equals
(
businessType
)
||
RIGHTS_EXTENDED_WARRANTY
.
getValue
().
equals
(
businessType
)
||
USED_CAR_INSPECTOR
.
getValue
().
equals
(
businessType
);
||
USED_CAR_INSPECTOR
.
getValue
().
equals
(
businessType
)
||
CAR_WASH_WORKER
.
getValue
().
equals
(
businessType
);
}
}
/**
/**
* 判断是否需要推送给区域运营的消息
* 判断是否需要推送给区域运营的消息
* 延保、权益、轻改、权益+延保业务类型需要推送给区域运营
* 延保、权益、轻改、权益+延保
、洗车工
业务类型需要推送给区域运营
*/
*/
public
static
boolean
needsRegionOperationMessage
(
String
businessType
)
{
public
static
boolean
needsRegionOperationMessage
(
String
businessType
)
{
if
(
businessType
==
null
)
{
if
(
businessType
==
null
)
{
...
@@ -117,7 +122,8 @@ public enum RecruitmentDemandBusinessTypeEnum {
...
@@ -117,7 +122,8 @@ public enum RecruitmentDemandBusinessTypeEnum {
return
EXTENDED_WARRANTY
.
getValue
().
equals
(
businessType
)
return
EXTENDED_WARRANTY
.
getValue
().
equals
(
businessType
)
||
RIGHTS
.
getValue
().
equals
(
businessType
)
||
RIGHTS
.
getValue
().
equals
(
businessType
)
||
LIGHT_MODIFICATION
.
getValue
().
equals
(
businessType
)
||
LIGHT_MODIFICATION
.
getValue
().
equals
(
businessType
)
||
RIGHTS_EXTENDED_WARRANTY
.
getValue
().
equals
(
businessType
);
||
RIGHTS_EXTENDED_WARRANTY
.
getValue
().
equals
(
businessType
)
||
CAR_WASH_WORKER
.
getValue
().
equals
(
businessType
);
}
}
/**
/**
...
...
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/remote/RecruitmentDemandRemoteImpl.java
View file @
fa25da5
...
@@ -225,7 +225,7 @@ public class RecruitmentDemandRemoteImpl implements RecruitmentDemandRemote{
...
@@ -225,7 +225,7 @@ public class RecruitmentDemandRemoteImpl implements RecruitmentDemandRemote{
try
{
try
{
RecruitmentDemandDTO
result
=
recruitmentDemandService
.
recruitmentDemandAdd
(
dto
);
RecruitmentDemandDTO
result
=
recruitmentDemandService
.
recruitmentDemandAdd
(
dto
);
// 推送给招聘负责人(延保、权益、轻改、权益+延保、二手车验车专员)
// 推送给招聘负责人(延保、权益、轻改、权益+延保、二手车验车专员
、洗车工
)
if
(
RecruitmentDemandBusinessTypeEnum
.
needsNewDemandMessage
(
result
.
getBusinessType
()))
{
if
(
RecruitmentDemandBusinessTypeEnum
.
needsNewDemandMessage
(
result
.
getBusinessType
()))
{
recruitmentDemandService
.
sendRecruitmentQWTextMessage
(
recruitmentDemandService
.
sendRecruitmentQWTextMessage
(
result
.
getRecruiterPhone
(),
result
.
getRecruiterPhone
(),
...
...
rpc-dj-staff/src/main/resources/META-INF/orm/RecruitmentDemandMapper.xml
View file @
fa25da5
...
@@ -413,7 +413,7 @@
...
@@ -413,7 +413,7 @@
INNER JOIN dj_car_life_recruitment_resume r ON d.id = r.demand_id
INNER JOIN dj_car_life_recruitment_resume r ON d.id = r.demand_id
WHERE d.status = 1
WHERE d.status = 1
AND d.deleted_flag = 'N'
AND d.deleted_flag = 'N'
AND d.business_type IN ('1', '2', '3', '5')
AND d.business_type IN ('1', '2', '3', '5'
, '10'
)
AND d.region_operation_id IS NOT NULL
AND d.region_operation_id IS NOT NULL
AND d.region_operation_name IS NOT NULL
AND d.region_operation_name IS NOT NULL
AND r.deleted_flag = 'N'
AND r.deleted_flag = 'N'
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment