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 19cac8ac
authored
Jun 22, 2026
by
谢海旭
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
招聘管理:新增试岗-查询小场景
1 parent
10db360e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
58 additions
and
1 deletions
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/dto/recruitment/RecruitmentSubSceneDTO.java
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/remote/RecruitmentDemandRemote.java
rpc-dj-staff/pom.xml
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/remote/RecruitmentDemandRemoteImpl.java
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/recruitment/RecruitmentDemandService.java
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/dto/recruitment/RecruitmentSubSceneDTO.java
0 → 100644
View file @
19cac8a
package
cn
.
com
.
glsx
.
dj
.
staff
.
dto
.
recruitment
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.experimental.SuperBuilder
;
import
java.io.Serializable
;
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
public
class
RecruitmentSubSceneDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
notes
=
"门店商户号(查询条件)"
)
private
Integer
merchantId
;
@ApiModelProperty
(
notes
=
"招聘需求业务类型值(查询条件)"
)
private
Integer
businessType
;
@ApiModelProperty
(
notes
=
"场景编码"
)
private
String
sceneCode
;
@ApiModelProperty
(
notes
=
"场景名称"
)
private
String
sceneName
;
}
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/remote/RecruitmentDemandRemote.java
View file @
19cac8a
...
@@ -116,4 +116,9 @@ public interface RecruitmentDemandRemote {
...
@@ -116,4 +116,9 @@ public interface RecruitmentDemandRemote {
@ApiParam
(
name
=
"condition"
,
notes
=
"查询条件,provinceName/provinceCode/hrbpName/hrbpPhone"
,
dataType
=
ApiParam
.
DataTypeEnum
.
OBJECT
,
required
=
true
)
@ApiParam
(
name
=
"condition"
,
notes
=
"查询条件,provinceName/provinceCode/hrbpName/hrbpPhone"
,
dataType
=
ApiParam
.
DataTypeEnum
.
OBJECT
,
required
=
true
)
@ApiResponse
(
"省份HRBP关系列表"
)
@ApiResponse
(
"省份HRBP关系列表"
)
RpcResponse
<
List
<
RecruitmentProvinceHrbpRelation
>>
listProvinceHrbpRelation
(
@NotNull
RecruitmentProvinceHrbpRelation
condition
);
RpcResponse
<
List
<
RecruitmentProvinceHrbpRelation
>>
listProvinceHrbpRelation
(
@NotNull
RecruitmentProvinceHrbpRelation
condition
);
@ApiMethod
(
"查询小场景列表"
)
@ApiParam
(
name
=
"dto"
,
notes
=
"查询条件,merchantId/businessType"
,
dataType
=
ApiParam
.
DataTypeEnum
.
OBJECT
,
required
=
true
)
@ApiResponse
(
"小场景列表"
)
RpcResponse
<
List
<
RecruitmentSubSceneDTO
>>
listSubScenes
(
@NotNull
RecruitmentSubSceneDTO
dto
);
}
}
rpc-dj-staff/pom.xml
View file @
19cac8a
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<dependency>
<dependency>
<groupId>
cn.com.glsx.dj
</groupId>
<groupId>
cn.com.glsx.dj
</groupId>
<artifactId>
rpc-dj-smartcarlife-api
</artifactId>
<artifactId>
rpc-dj-smartcarlife-api
</artifactId>
<version>
5.
6.4
-SNAPSHOT
</version>
<version>
5.
8.3
-SNAPSHOT
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
cn.com.glsx.entmicro
</groupId>
<groupId>
cn.com.glsx.entmicro
</groupId>
...
...
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/remote/RecruitmentDemandRemoteImpl.java
View file @
19cac8a
...
@@ -21,6 +21,7 @@ import org.springframework.beans.factory.annotation.Autowired;
...
@@ -21,6 +21,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Objects
;
import
java.util.Objects
;
import
java.util.concurrent.CompletableFuture
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
@Slf4j
@Slf4j
...
@@ -28,6 +29,7 @@ import java.util.stream.Collectors;
...
@@ -28,6 +29,7 @@ import java.util.stream.Collectors;
public
class
RecruitmentDemandRemoteImpl
implements
RecruitmentDemandRemote
{
public
class
RecruitmentDemandRemoteImpl
implements
RecruitmentDemandRemote
{
@Autowired
@Autowired
private
RecruitmentDemandService
recruitmentDemandService
;
private
RecruitmentDemandService
recruitmentDemandService
;
@Override
@Override
public
RpcResponse
<
RecruitmentDemandDTO
>
statRecruitmentDemand
(
RecruitmentDemandDTO
dto
)
{
public
RpcResponse
<
RecruitmentDemandDTO
>
statRecruitmentDemand
(
RecruitmentDemandDTO
dto
)
{
try
{
try
{
...
@@ -343,6 +345,13 @@ public class RecruitmentDemandRemoteImpl implements RecruitmentDemandRemote{
...
@@ -343,6 +345,13 @@ public class RecruitmentDemandRemoteImpl implements RecruitmentDemandRemote{
public
RpcResponse
<
RecruitmentTrialOnboarding
>
trialOnboardingApproval
(
RecruitmentTrialOnboardingDTO
dto
)
{
public
RpcResponse
<
RecruitmentTrialOnboarding
>
trialOnboardingApproval
(
RecruitmentTrialOnboardingDTO
dto
)
{
try
{
try
{
RecruitmentTrialOnboarding
result
=
recruitmentDemandService
.
trialOnboardingApproval
(
dto
);
RecruitmentTrialOnboarding
result
=
recruitmentDemandService
.
trialOnboardingApproval
(
dto
);
// 异步推送企微消息给区域运营
CompletableFuture
.
runAsync
(()
->
recruitmentDemandService
.
sendTrialApprovalRegionOperationMessage
(
result
.
getId
()));
// 异步推送企微消息给线上运营
CompletableFuture
.
runAsync
(()
->
recruitmentDemandService
.
sendTrialApprovalOnlineOperationMessage
(
result
.
getId
()));
return
RpcResponse
.
success
(
result
);
return
RpcResponse
.
success
(
result
);
}
catch
(
RpcServiceException
e
)
{
}
catch
(
RpcServiceException
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
log
.
error
(
e
.
getMessage
(),
e
);
...
@@ -366,4 +375,18 @@ public class RecruitmentDemandRemoteImpl implements RecruitmentDemandRemote{
...
@@ -366,4 +375,18 @@ public class RecruitmentDemandRemoteImpl implements RecruitmentDemandRemote{
return
RpcResponse
.
error
(
e
);
return
RpcResponse
.
error
(
e
);
}
}
}
}
@Override
public
RpcResponse
<
List
<
RecruitmentSubSceneDTO
>>
listSubScenes
(
RecruitmentSubSceneDTO
dto
)
{
try
{
List
<
RecruitmentSubSceneDTO
>
list
=
recruitmentDemandService
.
listSubScenes
(
dto
);
return
RpcResponse
.
success
(
list
);
}
catch
(
RpcServiceException
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
return
RpcResponse
.
error
(
e
);
}
catch
(
Exception
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
return
RpcResponse
.
error
(
e
);
}
}
}
}
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/recruitment/RecruitmentDemandService.java
View file @
19cac8a
This diff is collapsed.
Click to expand it.
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