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 f8cfffa0
authored
Dec 22, 2025
by
谢海旭
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
招聘管理:12月优化版本内容
1 parent
c51d0275
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/recruitment/RecruitmentDemandService.java
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/recruitment/RecruitmentDemandService.java
View file @
f8cfffa
...
@@ -41,6 +41,7 @@ import cn.hutool.core.date.DateUtil;
...
@@ -41,6 +41,7 @@ import cn.hutool.core.date.DateUtil;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.github.pagehelper.Page
;
import
com.github.pagehelper.Page
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageHelper
;
import
com.google.common.collect.Lists
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
...
@@ -381,7 +382,7 @@ public class RecruitmentDemandService {
...
@@ -381,7 +382,7 @@ public class RecruitmentDemandService {
}
}
// 查询门店主营品牌信息
// 查询门店主营品牌信息
Map
<
Integer
,
String
>
merchantBrandMap
=
merchantService
.
getMerchantBrandMap
(
Arrays
.
as
List
(
Integer
.
parseInt
(
merchantId
)),
true
);
Map
<
Integer
,
String
>
merchantBrandMap
=
merchantService
.
getMerchantBrandMap
(
Lists
.
newArray
List
(
Integer
.
parseInt
(
merchantId
)),
true
);
if
(
CollectionUtil
.
isNotEmpty
(
merchantBrandMap
))
{
if
(
CollectionUtil
.
isNotEmpty
(
merchantBrandMap
))
{
detailDTO
.
setBrand
(
merchantBrandMap
.
get
(
Integer
.
parseInt
(
merchantId
)));
detailDTO
.
setBrand
(
merchantBrandMap
.
get
(
Integer
.
parseInt
(
merchantId
)));
}
}
...
@@ -406,7 +407,7 @@ public class RecruitmentDemandService {
...
@@ -406,7 +407,7 @@ public class RecruitmentDemandService {
log
.
info
(
"查询商户日报参数:{}"
,
JSON
.
toJSONString
(
reportQueryParam
));
log
.
info
(
"查询商户日报参数:{}"
,
JSON
.
toJSONString
(
reportQueryParam
));
RpcResponse
<
List
<
MerchantDailyReportHuaweiDTO
>>
dailyReportResp
=
merchantDailyReportHuaweiRemote
.
listMerchantDailyReportHuawei
(
reportQueryParam
);
RpcResponse
<
List
<
MerchantDailyReportHuaweiDTO
>>
dailyReportResp
=
merchantDailyReportHuaweiRemote
.
listMerchantDailyReportHuawei
(
reportQueryParam
);
log
.
info
(
"查询商户日报结果:{}"
,
JSON
.
toJSONString
(
dailyReportResp
));
log
.
info
(
"查询商户日报结果:{}"
,
JSON
.
toJSONString
(
dailyReportResp
));
List
<
MerchantDailyReportHuaweiDTO
>
dailyReports
=
null
;
List
<
MerchantDailyReportHuaweiDTO
>
dailyReports
;
if
(
dailyReportResp
.
hasResult
()
&&
CollectionUtils
.
isNotEmpty
(
dailyReportResp
.
getResult
()))
{
if
(
dailyReportResp
.
hasResult
()
&&
CollectionUtils
.
isNotEmpty
(
dailyReportResp
.
getResult
()))
{
dailyReports
=
dailyReportResp
.
getResult
();
dailyReports
=
dailyReportResp
.
getResult
();
salesVolume
=
getMerchantSalesVolume
(
dailyReports
);
salesVolume
=
getMerchantSalesVolume
(
dailyReports
);
...
@@ -540,7 +541,7 @@ public class RecruitmentDemandService {
...
@@ -540,7 +541,7 @@ public class RecruitmentDemandService {
Integer
merchantId
=
env
.
getProperty
(
"new.demand.qw.message.merchant.id"
,
Integer
.
class
,
44211276
);
Integer
merchantId
=
env
.
getProperty
(
"new.demand.qw.message.merchant.id"
,
Integer
.
class
,
44211276
);
String
agentId
=
env
.
getProperty
(
"new.demand.qw.message.agentId"
);
String
agentId
=
env
.
getProperty
(
"new.demand.qw.message.agentId"
);
if
(
merchantId
==
null
||
StringUtils
.
isBlank
(
agentId
))
{
if
(
StringUtils
.
isBlank
(
agentId
))
{
log
.
error
(
"新增招聘需求推送企微消息参数缺失"
);
log
.
error
(
"新增招聘需求推送企微消息参数缺失"
);
return
;
return
;
}
}
...
...
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