Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
order-group-application
order-group
Commits
662bbc7d
Commit
662bbc7d
authored
May 18, 2021
by
周晓航
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
校验修改
parent
060095e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
order-application-service/src/main/java/cn/freemud/handler/OrderReportJobHandler.java
+2
-1
No files found.
order-application-service/src/main/java/cn/freemud/handler/OrderReportJobHandler.java
View file @
662bbc7d
...
@@ -11,6 +11,7 @@ import com.alibaba.fastjson.JSON;
...
@@ -11,6 +11,7 @@ import com.alibaba.fastjson.JSON;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.data.redis.core.BoundHashOperations
;
import
org.springframework.data.redis.core.BoundHashOperations
;
import
org.springframework.stereotype.Component
;
import
org.springframework.stereotype.Component
;
import
org.springframework.util.CollectionUtils
;
import
java.text.SimpleDateFormat
;
import
java.text.SimpleDateFormat
;
import
java.util.*
;
import
java.util.*
;
...
@@ -38,7 +39,7 @@ public class OrderReportJobHandler {
...
@@ -38,7 +39,7 @@ public class OrderReportJobHandler {
BoundHashOperations
<
String
,
String
,
Set
<
String
>>
boundHashOperations
=
redisCache
.
getRedisTemplate
().
boundHashOps
(
RedisKeyConstant
.
KGD_NO_ORDER_STORE_DATE
+
date
);
BoundHashOperations
<
String
,
String
,
Set
<
String
>>
boundHashOperations
=
redisCache
.
getRedisTemplate
().
boundHashOps
(
RedisKeyConstant
.
KGD_NO_ORDER_STORE_DATE
+
date
);
Map
<
String
,
Set
<
String
>>
entries
=
boundHashOperations
.
entries
();
Map
<
String
,
Set
<
String
>>
entries
=
boundHashOperations
.
entries
();
LogUtil
.
info
(
"下单门店记录推送 entries"
,
entries
,
null
);
LogUtil
.
info
(
"下单门店记录推送 entries"
,
entries
,
null
);
if
(
entries
!=
null
&&
!
entries
.
isEmpty
(
))
{
if
(
!
CollectionUtils
.
isEmpty
(
entries
))
{
// 推送门店 服务
// 推送门店 服务
List
<
ReportStoreIdsRequestVo
>
requestDto
=
new
ArrayList
<>(
entries
.
size
());
List
<
ReportStoreIdsRequestVo
>
requestDto
=
new
ArrayList
<>(
entries
.
size
());
entries
.
forEach
((
partnerId
,
storeIds
)
->
{
entries
.
forEach
((
partnerId
,
storeIds
)
->
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment