Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-dj-pe-analysis
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 41e269e4
authored
Jun 24, 2026
by
章家宝
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:hrbp取数需求调用新的
1 parent
f23368fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
rpc-dj-pe-analysis/src/main/java/cn/com/glsx/dj/peanalysis/service/BusinessSceneAnalysisService.java
rpc-dj-pe-analysis/src/main/java/cn/com/glsx/dj/peanalysis/service/BusinessSceneAnalysisService.java
View file @
41e269e
...
...
@@ -1626,17 +1626,23 @@ public class BusinessSceneAnalysisService {
BeanUtils
.
copyProperties
(
settingDTO
,
res
);
}
// 查询门店信息:招聘负责人
if
(
StringUtils
.
isBlank
(
res
.
getRecruitmentManager
())
&&
StringUtils
.
isNotBlank
(
res
.
getRegionalOperationId
()))
{
Pair
<
String
,
String
>
hrbp
=
merchantHrbpRelationService
.
findRecruitmentManagerByRegionalOperationIds
(
res
.
getRegionalOperationId
(),
req
.
getBizs
()
==
null
?
null
:
req
.
getBizs
().
byteValue
());
if
(
hrbp
!=
null
&&
StringUtils
.
isNotBlank
(
hrbp
.
getKey
()))
{
res
.
setRecruitmentManager
(
hrbp
.
getKey
());
// 查询门店基础信息(用于获取省份等)
MerchantBasicInfoListResponse
merchantInfo
=
merchantBasicInfoService
.
queryMerchantBasicInfo
(
req
.
getMerchantIds
().
get
(
0
));
// 查询门店信息:招聘负责人(基于省份映射)
String
provinceName
=
merchantInfo
.
getProvinceName
();
if
(
StringUtils
.
isBlank
(
res
.
getRecruitmentManager
())
&&
StringUtils
.
isNotBlank
(
provinceName
))
{
Map
<
String
,
Pair
<
String
,
String
>>
provinceToHrbpMap
=
merchantHrbpRelationService
.
buildProvinceToHrbpMap
(
Collections
.
singleton
(
provinceName
),
req
.
getBizs
()
==
null
?
null
:
req
.
getBizs
().
byteValue
());
if
(
MapUtils
.
isNotEmpty
(
provinceToHrbpMap
))
{
Pair
<
String
,
String
>
hrbp
=
provinceToHrbpMap
.
get
(
provinceName
);
if
(
hrbp
!=
null
&&
StringUtils
.
isNotBlank
(
hrbp
.
getKey
()))
{
res
.
setRecruitmentManager
(
hrbp
.
getKey
());
}
}
}
// 查询门店信息:技师督导
MerchantBasicInfoListResponse
merchantInfo
=
merchantBasicInfoService
.
queryMerchantBasicInfo
(
req
.
getMerchantIds
().
get
(
0
));
merchantBasicInfoService
.
fillStoreDetailTechnicianSupervisor
(
res
,
merchantInfo
,
req
.
getBizs
());
// 产值权限过滤
...
...
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