Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rop-dj-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 d8b01f4d
authored
Jul 03, 2026
by
叶立庆
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v5.8.3' into 'master'
上线合并 See merge request
!12
2 parents
4649307b
684e7984
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
185 additions
and
21 deletions
pom.xml
src/main/java/cn/com/glsx/dj/staff/config/dubbo/SmartCarLifeDubboConfig.java
src/main/java/cn/com/glsx/dj/staff/controller/recruitment/RecruitmentDemandController.java
src/main/java/cn/com/glsx/dj/staff/request/recruitment/RecruitmentDemandAddRequest.java
src/main/java/cn/com/glsx/dj/staff/request/recruitment/RecruitmentDemandPageRequest.java
src/main/java/cn/com/glsx/dj/staff/request/recruitment/RecruitmentDemandStoreListRequest.java
src/main/java/cn/com/glsx/dj/staff/request/recruitment/RecruitmentSubSceneListRequest.java
src/main/java/cn/com/glsx/dj/staff/request/recruitment/RecruitmentTrialOnboardingApprovalRequest.java
src/main/java/cn/com/glsx/dj/staff/request/recruitment/RecruitmentTrialOnboardingProcessRequest.java
src/main/java/cn/com/glsx/dj/staff/vo/excel/excel/RecruitmentDemandExportVO.java
src/main/resources/templates/excel/export/招聘管理导出.xlsx
pom.xml
View file @
d8b01f4
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
</parent>
</parent>
<groupId>
cn.com.glsx.dj
</groupId>
<groupId>
cn.com.glsx.dj
</groupId>
<artifactId>
rop-dj-staff
</artifactId>
<artifactId>
rop-dj-staff
</artifactId>
<version>
5.
7.4
-SNAPSHOT
</version>
<version>
5.
8.3
-SNAPSHOT
</version>
<name>
rop-dj-staff
</name>
<name>
rop-dj-staff
</name>
<packaging>
war
</packaging>
<packaging>
war
</packaging>
<dependencies>
<dependencies>
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<dependency>
<dependency>
<groupId>
cn.com.glsx.dj
</groupId>
<groupId>
cn.com.glsx.dj
</groupId>
<artifactId>
rpc-dj-staff-api
</artifactId>
<artifactId>
rpc-dj-staff-api
</artifactId>
<version>
5.8.
2
-SNAPSHOT
</version>
<version>
5.8.
3
-SNAPSHOT
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
cn.com.glsx.dj
</groupId>
<groupId>
cn.com.glsx.dj
</groupId>
...
...
src/main/java/cn/com/glsx/dj/staff/config/dubbo/SmartCarLifeDubboConfig.java
View file @
d8b01f4
...
@@ -47,4 +47,9 @@ public class SmartCarLifeDubboConfig extends DubboConfig {
...
@@ -47,4 +47,9 @@ public class SmartCarLifeDubboConfig extends DubboConfig {
public
ServiceMerchantRemote
serviceMerchantRemote
()
{
public
ServiceMerchantRemote
serviceMerchantRemote
()
{
return
factory
.
builder
(
ServiceMerchantRemote
.
class
).
timeout
(
timeout
)
/*.url("dubbo://localhost:20883")*/
.
check
(
check
).
build
();
return
factory
.
builder
(
ServiceMerchantRemote
.
class
).
timeout
(
timeout
)
/*.url("dubbo://localhost:20883")*/
.
check
(
check
).
build
();
}
}
@Bean
public
ShopMerchantDirectorConfigRemote
shopMerchantDirectorConfigRemote
(){
return
factory
.
builder
(
ShopMerchantDirectorConfigRemote
.
class
).
check
(
check
).
timeout
(
timeout
).
version
(
"1.0.0"
).
build
();
}
}
}
src/main/java/cn/com/glsx/dj/staff/controller/recruitment/RecruitmentDemandController.java
View file @
d8b01f4
package
cn
.
com
.
glsx
.
dj
.
staff
.
controller
.
recruitment
;
package
cn
.
com
.
glsx
.
dj
.
staff
.
controller
.
recruitment
;
import
cn.com.glsx.dj.smartcarlife.dto.LoginUserDTO
;
import
cn.com.glsx.dj.smartcarlife.dto.LoginUserDTO
;
import
cn.com.glsx.dj.smartcarlife.dto.MerchantListDTO
;
import
cn.com.glsx.dj.smartcarlife.dto.SceneMerchantRefDTO
;
import
cn.com.glsx.dj.smartcarlife.dto.ServiceMerchantDTO
;
import
cn.com.glsx.dj.smartcarlife.dto.ServiceMerchantDTO
;
import
cn.com.glsx.dj.smartcarlife.dto.ShopMerchantDirectorConfigDTO
;
import
cn.com.glsx.dj.smartcarlife.enums.DirectorTypeEnum
;
import
cn.com.glsx.dj.smartcarlife.remote.SceneMerchantRefRemote
;
import
cn.com.glsx.dj.smartcarlife.remote.ServiceMerchantRemote
;
import
cn.com.glsx.dj.smartcarlife.remote.ServiceMerchantRemote
;
import
cn.com.glsx.dj.smartcarlife.remote.ShopMerchantDirectorConfigRemote
;
import
cn.com.glsx.dj.staff.dto.recruitment.*
;
import
cn.com.glsx.dj.staff.dto.recruitment.*
;
import
cn.com.glsx.dj.staff.model.RecruitmentOnboardingPlan
;
import
cn.com.glsx.dj.staff.model.RecruitmentOnboardingPlan
;
import
cn.com.glsx.dj.staff.model.RecruitmentResume
;
import
cn.com.glsx.dj.staff.model.RecruitmentResume
;
...
@@ -31,6 +37,7 @@ import org.springframework.beans.factory.annotation.Autowired;
...
@@ -31,6 +37,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.core.env.Environment
;
import
org.springframework.core.env.Environment
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Objects
;
import
java.util.Objects
;
...
@@ -53,6 +60,10 @@ public class RecruitmentDemandController {
...
@@ -53,6 +60,10 @@ public class RecruitmentDemandController {
@Autowired
@Autowired
private
ServiceMerchantRemote
serviceMerchantRemote
;
private
ServiceMerchantRemote
serviceMerchantRemote
;
@Autowired
@Autowired
private
ShopMerchantDirectorConfigRemote
shopMerchantDirectorConfigRemote
;
@Autowired
private
SceneMerchantRefRemote
sceneMerchantRefRemote
;
@Autowired
private
ExcelAsyncImportService
excelAsyncImportService
;
private
ExcelAsyncImportService
excelAsyncImportService
;
@Autowired
@Autowired
private
Environment
env
;
private
Environment
env
;
...
@@ -242,4 +253,48 @@ public class RecruitmentDemandController {
...
@@ -242,4 +253,48 @@ public class RecruitmentDemandController {
RpcResponse
<
String
>
response
=
recruitmentDemandRemote
.
recruitmentDemandBatchChange
(
requestDTO
);
RpcResponse
<
String
>
response
=
recruitmentDemandRemote
.
recruitmentDemandBatchChange
(
requestDTO
);
return
CommonUtil
.
convertRopResponse
(
response
);
return
CommonUtil
.
convertRopResponse
(
response
);
}
}
@ApiOperation
(
"审批试岗计划(通过/驳回)"
)
@ServiceMethod
(
method
=
"dj.staff.api.recruitment.trial.onboarding.approval"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
RecruitmentTrialOnboarding
>
trialOnboardingApproval
(
RecruitmentTrialOnboardingApprovalRequest
request
)
{
String
userName
=
CommonUtil
.
getLoginUser
().
getUserName
();
RecruitmentTrialOnboardingDTO
requestDTO
=
CommonUtil
.
convertRequest
(
RecruitmentTrialOnboardingDTO
.
class
);
requestDTO
.
setUpdatedBy
(
userName
);
RpcResponse
<
RecruitmentTrialOnboarding
>
response
=
recruitmentDemandRemote
.
trialOnboardingApproval
(
requestDTO
);
return
CommonUtil
.
convertRopResponse
(
response
);
}
@ApiOperation
(
"新增试岗-4s门店列表(根据区域运营uuid查询)"
)
@ServiceMethod
(
method
=
"dj.staff.api.recruitment.demand.store.list"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
List
<
RecruitmentDemandStoreListDTO
>>
listStore
(
RecruitmentDemandStoreListRequest
request
)
{
// 1. 查询区域运营管辖的门店
ShopMerchantDirectorConfigDTO
dto
=
ShopMerchantDirectorConfigDTO
.
builder
()
.
directorTypes
(
Arrays
.
asList
(
DirectorTypeEnum
.
AREA_SUPERVISION_1_1
.
getValue
(),
DirectorTypeEnum
.
AREA_SUPERVISION_2_1
.
getValue
()))
.
directorUserId
(
request
.
getRegionOperationId
())
.
merchantName
(
request
.
getMerchantName
()).
build
();
RpcResponse
<
List
<
ShopMerchantDirectorConfigDTO
>>
shopResp
=
shopMerchantDirectorConfigRemote
.
list
(
dto
);
if
(!
shopResp
.
hasResult
())
{
return
RopResponse
.
success
(
new
ArrayList
<>());
}
List
<
RecruitmentDemandStoreListDTO
>
storeList
=
shopResp
.
getResult
().
stream
()
.
filter
(
o
->
o
!=
null
&&
o
.
getMerchantId
()
!=
null
)
.
map
(
o
->
RecruitmentDemandStoreListDTO
.
builder
()
.
merchantId
(
o
.
getMerchantId
()).
merchantName
(
o
.
getMerchantName
()).
build
())
.
collect
(
Collectors
.
collectingAndThen
(
Collectors
.
toMap
(
RecruitmentDemandStoreListDTO:
:
getMerchantId
,
o
->
o
,
(
o1
,
o2
)
->
o1
),
m
->
new
ArrayList
<>(
m
.
values
())));
return
RopResponse
.
success
(
storeList
);
}
@ApiOperation
(
"新增试岗-小场景列表查询"
)
@ServiceMethod
(
method
=
"dj.staff.api.recruitment.demand.sub.scene.list"
,
needInSession
=
NeedInSessionType
.
YES
)
public
RopResponse
<
List
<
RecruitmentSubSceneDTO
>>
listSubScene
(
RecruitmentSubSceneListRequest
request
)
{
RecruitmentSubSceneDTO
dto
=
RecruitmentSubSceneDTO
.
builder
()
.
merchantId
(
request
.
getMerchantId
())
.
businessType
(
request
.
getBusinessType
())
.
build
();
RpcResponse
<
List
<
RecruitmentSubSceneDTO
>>
response
=
recruitmentDemandRemote
.
listSubScenes
(
dto
);
return
CommonUtil
.
convertRopResponse
(
response
);
}
}
}
src/main/java/cn/com/glsx/dj/staff/request/recruitment/RecruitmentDemandAddRequest.java
View file @
d8b01f4
...
@@ -60,4 +60,8 @@ public class RecruitmentDemandAddRequest extends AbstractRopRequest {
...
@@ -60,4 +60,8 @@ public class RecruitmentDemandAddRequest extends AbstractRopRequest {
@ApiModelProperty
(
notes
=
"省份名称(未创建系统门店时必填,用于查询技术督导)"
)
@ApiModelProperty
(
notes
=
"省份名称(未创建系统门店时必填,用于查询技术督导)"
)
private
String
province
;
private
String
province
;
@ApiModelProperty
(
notes
=
"详细地址"
)
private
String
merchantAddressDetail
;
}
}
src/main/java/cn/com/glsx/dj/staff/request/recruitment/RecruitmentDemandPageRequest.java
View file @
d8b01f4
...
@@ -54,4 +54,7 @@ public class RecruitmentDemandPageRequest extends CommonPageRequest {
...
@@ -54,4 +54,7 @@ public class RecruitmentDemandPageRequest extends CommonPageRequest {
@ApiModelProperty
(
notes
=
"试岗状态,1-试岗中 2-无试岗"
)
@ApiModelProperty
(
notes
=
"试岗状态,1-试岗中 2-无试岗"
)
private
Integer
trialStatus
;
private
Integer
trialStatus
;
@ApiModelProperty
(
notes
=
"审批状态,0-待审批 1-审批"
)
private
Integer
approvalStatus
;
}
}
src/main/java/cn/com/glsx/dj/staff/request/recruitment/RecruitmentDemandStoreListRequest.java
0 → 100644
View file @
d8b01f4
package
cn
.
com
.
glsx
.
dj
.
staff
.
request
.
recruitment
;
import
com.rop.AbstractRopRequest
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
@Data
public
class
RecruitmentDemandStoreListRequest
extends
AbstractRopRequest
{
@ApiModelProperty
(
notes
=
"区域运营uuid"
,
required
=
true
)
private
String
regionOperationId
;
@ApiModelProperty
(
notes
=
"商户名称-模糊搜索"
)
private
String
merchantName
;
}
src/main/java/cn/com/glsx/dj/staff/request/recruitment/RecruitmentSubSceneListRequest.java
0 → 100644
View file @
d8b01f4
package
cn
.
com
.
glsx
.
dj
.
staff
.
request
.
recruitment
;
import
com.rop.AbstractRopRequest
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
@Data
public
class
RecruitmentSubSceneListRequest
extends
AbstractRopRequest
{
@ApiModelProperty
(
notes
=
"门店商户号"
,
required
=
true
)
private
Integer
merchantId
;
@ApiModelProperty
(
notes
=
"招聘需求业务类型值"
,
required
=
true
)
private
Integer
businessType
;
}
src/main/java/cn/com/glsx/dj/staff/request/recruitment/RecruitmentTrialOnboardingApprovalRequest.java
0 → 100644
View file @
d8b01f4
package
cn
.
com
.
glsx
.
dj
.
staff
.
request
.
recruitment
;
import
com.rop.AbstractRopRequest
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
/**
* 试岗计划审批请求参数
*/
@Data
public
class
RecruitmentTrialOnboardingApprovalRequest
extends
AbstractRopRequest
{
@ApiModelProperty
(
notes
=
"试岗记录id"
)
private
Integer
id
;
@ApiModelProperty
(
notes
=
"招聘需求id"
)
private
Integer
demandId
;
@ApiModelProperty
(
notes
=
"审批结果,1-通过 0-驳回"
)
private
Integer
approvalResult
;
@ApiModelProperty
(
notes
=
"审批备注,驳回时必填,最多200字"
)
private
String
approvalRemark
;
}
src/main/java/cn/com/glsx/dj/staff/request/recruitment/RecruitmentTrialOnboardingProcessRequest.java
View file @
d8b01f4
...
@@ -76,6 +76,36 @@ public class RecruitmentTrialOnboardingProcessRequest implements Serializable {
...
@@ -76,6 +76,36 @@ public class RecruitmentTrialOnboardingProcessRequest implements Serializable {
private
String
processRemark
;
private
String
processRemark
;
/**
/**
* 试岗门店商户号(4s店或园区店)
*/
@ApiModelProperty
(
notes
=
"试岗门店商户号"
)
private
String
storeNo
;
/**
* 试岗门店名称
*/
@ApiModelProperty
(
notes
=
"试岗门店名称"
)
private
String
storeName
;
/**
* 业务场景信息,JSON数组格式
*/
@ApiModelProperty
(
notes
=
"业务场景信息,JSON数组格式:[{sceneCode:\"xxx\", sceneName:\"xxx\"}]"
)
private
String
bizSceneInfo
;
/**
* 驻店类型字典值
*/
@ApiModelProperty
(
notes
=
"驻店类型字典值"
)
private
String
residentType
;
/**
* 驻店类型字典名
*/
@ApiModelProperty
(
notes
=
"驻店类型字典名"
)
private
String
residentTypeName
;
/**
* 修改时间
* 修改时间
*/
*/
@ApiModelProperty
(
notes
=
"修改时间,编辑、处理 时必传,格式:yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
notes
=
"修改时间,编辑、处理 时必传,格式:yyyy-MM-dd HH:mm:ss"
)
...
...
src/main/java/cn/com/glsx/dj/staff/vo/excel/excel/RecruitmentDemandExportVO.java
View file @
d8b01f4
...
@@ -23,104 +23,116 @@ public class RecruitmentDemandExportVO {
...
@@ -23,104 +23,116 @@ public class RecruitmentDemandExportVO {
private
String
provinceCity
;
private
String
provinceCity
;
/**
/**
*
区域运营名称
*
详细地址
*/
*/
@ExcelMergeRow
(
columIndex
=
2
)
@ExcelMergeRow
(
columIndex
=
2
)
private
String
merchantAddressDetail
;
/**
* 区域运营名称
*/
@ExcelMergeRow
(
columIndex
=
3
)
private
String
regionOperationName
;
private
String
regionOperationName
;
/**
/**
* 门店名称
* 门店名称
*/
*/
@ExcelMergeRow
(
columIndex
=
3
)
@ExcelMergeRow
(
columIndex
=
4
)
private
String
merchantName
;
private
String
merchantName
;
/**
/**
* 门店地址
* 门店地址
*/
*/
@ExcelMergeRow
(
columIndex
=
4
)
@ExcelMergeRow
(
columIndex
=
5
)
private
String
merchantAddress
;
private
String
merchantAddress
;
/**
/**
* 品牌
* 品牌
*/
*/
@ExcelMergeRow
(
columIndex
=
5
)
@ExcelMergeRow
(
columIndex
=
6
)
private
String
brand
;
private
String
brand
;
/**
/**
* 业务类型名称
* 业务类型名称
*/
*/
@ExcelMergeRow
(
columIndex
=
6
)
@ExcelMergeRow
(
columIndex
=
7
)
private
String
businessTypeName
;
private
String
businessTypeName
;
/**
/**
* 新车销售
* 新车销售
*/
*/
@ExcelMergeRow
(
columIndex
=
7
)
@ExcelMergeRow
(
columIndex
=
8
)
private
int
newCarSales
;
private
int
newCarSales
;
/**
/**
* 招聘数量
* 招聘数量
*/
*/
@ExcelMergeRow
(
columIndex
=
8
)
@ExcelMergeRow
(
columIndex
=
9
)
private
int
recruitmentQuantity
;
private
int
recruitmentQuantity
;
/**
/**
* 提需求时间
* 提需求时间
*/
*/
@ExcelMergeRow
(
columIndex
=
9
)
@ExcelMergeRow
(
columIndex
=
10
)
private
String
demandApplyTime
;
private
String
demandApplyTime
;
/**
/**
* 人员到岗时间
* 人员到岗时间
*/
*/
@ExcelMergeRow
(
columIndex
=
1
0
)
@ExcelMergeRow
(
columIndex
=
1
1
)
private
String
staffArrivalTime
;
private
String
staffArrivalTime
;
/**
/**
* 招聘类型名称
* 招聘类型名称
*/
*/
@ExcelMergeRow
(
columIndex
=
1
1
)
@ExcelMergeRow
(
columIndex
=
1
2
)
private
String
recruitmentTypeName
;
private
String
recruitmentTypeName
;
/**
/**
* 招聘状态,0-待人事确认 1-招聘中 2-已完成 3-已驳回
* 招聘状态,0-待人事确认 1-招聘中 2-已完成 3-已驳回
*/
*/
@ExcelMergeRow
(
columIndex
=
1
2
)
@ExcelMergeRow
(
columIndex
=
1
3
)
private
String
recruitmentStatus
;
private
String
recruitmentStatus
;
/**
/**
* 审批状态,0-待审批 1-审批
*/
@ExcelMergeRow
(
columIndex
=
14
)
private
String
approvalStatusName
;
/**
* 试岗状态,1-试岗中 2-无试岗
* 试岗状态,1-试岗中 2-无试岗
*/
*/
@ExcelMergeRow
(
columIndex
=
1
3
)
@ExcelMergeRow
(
columIndex
=
1
5
)
private
String
trialStatusName
;
private
String
trialStatusName
;
/**
/**
* 关联状态,1-已关联 0-未关联
* 关联状态,1-已关联 0-未关联
*/
*/
@ExcelMergeRow
(
columIndex
=
1
4
)
@ExcelMergeRow
(
columIndex
=
1
6
)
private
String
connectionFlag
;
private
String
connectionFlag
;
/**
/**
* 招聘负责人名称|对接人力
* 招聘负责人名称|对接人力
*/
*/
@ExcelMergeRow
(
columIndex
=
1
5
)
@ExcelMergeRow
(
columIndex
=
1
7
)
private
String
recruiterName
;
private
String
recruiterName
;
/**
/**
* 需求描述
* 需求描述
*/
*/
@ExcelMergeRow
(
columIndex
=
1
6
)
@ExcelMergeRow
(
columIndex
=
1
8
)
private
String
requirementDescription
;
private
String
requirementDescription
;
/**
/**
* 简历推送数量
* 简历推送数量
*/
*/
@ExcelMergeRow
(
columIndex
=
1
7
)
@ExcelMergeRow
(
columIndex
=
1
9
)
private
int
allOfResume
;
private
int
allOfResume
;
/**
/**
* 已处理简历数量
* 已处理简历数量
*/
*/
@ExcelMergeRow
(
columIndex
=
18
)
@ExcelMergeRow
(
columIndex
=
20
)
private
int
processedOfResume
;
private
int
processedOfResume
;
/**
/**
* 试岗人数
* 试岗人数
*/
*/
@ExcelMergeRow
(
columIndex
=
19
)
@ExcelMergeRow
(
columIndex
=
21
)
private
Integer
allOfTrialOnboarding
;
private
Integer
allOfTrialOnboarding
;
/**
/**
* 待招人员 = 招聘数量 - 入职人数,负数取0
* 待招人员 = 招聘数量 - 入职人数,负数取0
*/
*/
@ExcelMergeRow
(
columIndex
=
2
0
)
@ExcelMergeRow
(
columIndex
=
2
2
)
private
Integer
pendingCount
;
private
Integer
pendingCount
;
/**
/**
...
...
src/main/resources/templates/excel/export/招聘管理导出.xlsx
View file @
d8b01f4
No preview for this file type
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