Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
order-center-tool-2
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈文明
order-center-tool-2
Commits
7a9decc5
Commit
7a9decc5
authored
Jul 18, 2025
by
年畅
🛀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
14c952c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
TempOrderRoutingServiceImpl.java
...rder/tool/server/service/TempOrderRoutingServiceImpl.java
+4
-4
No files found.
src/main/java/com/zm/order/tool/server/service/TempOrderRoutingServiceImpl.java
View file @
7a9decc5
...
...
@@ -2309,7 +2309,7 @@ public class TempOrderRoutingServiceImpl implements InitializingBean {
List
<
OrderComment
>
converted
=
new
ArrayList
<>(
list
.
size
());
list
.
forEach
(
each
->
{
Order
order
=
historyDataO
rderDao
.
selectByOrderNo
(
each
.
getOrderNo
(),
each
.
getUserId
());
Order
order
=
o
rderDao
.
selectByOrderNo
(
each
.
getOrderNo
(),
each
.
getUserId
());
if
(
order
!=
null
)
{
Integer
bizType
=
order
.
getBizType
();
...
...
@@ -2324,7 +2324,7 @@ public class TempOrderRoutingServiceImpl implements InitializingBean {
if
(!
CollectionUtils
.
isEmpty
(
converted
))
{
List
<
List
<
OrderComment
>>
partition
=
Lists
.
partition
(
converted
,
200
);
for
(
List
<
OrderComment
>
group
:
partition
)
{
historyData
CommentDao
.
replaceList
(
group
);
new
CommentDao
.
replaceList
(
group
);
logger
.
info
(
"[comment_replace]group:{}"
,
group
.
stream
().
map
(
OrderComment:
:
getOrderNo
).
collect
(
Collectors
.
toList
()));
}
}
...
...
@@ -2460,7 +2460,7 @@ public class TempOrderRoutingServiceImpl implements InitializingBean {
List
<
OrderItemComment
>
converted
=
new
ArrayList
<>(
list
.
size
());
list
.
forEach
(
each
->
{
Order
order
=
historyDataO
rderDao
.
selectByOrderNo
(
each
.
getOrderNo
(),
each
.
getUserId
());
Order
order
=
o
rderDao
.
selectByOrderNo
(
each
.
getOrderNo
(),
each
.
getUserId
());
if
(
order
!=
null
)
{
each
.
setBizType
(
each
.
getBizType
());
each
.
setOrderType
(
order
.
getOrderType
());
...
...
@@ -2472,7 +2472,7 @@ public class TempOrderRoutingServiceImpl implements InitializingBean {
if
(!
CollectionUtils
.
isEmpty
(
converted
))
{
List
<
List
<
OrderItemComment
>>
partition
=
Lists
.
partition
(
converted
,
200
);
for
(
List
<
OrderItemComment
>
group
:
partition
)
{
historyData
ItemCommentDao
.
replaceList
(
group
);
new
ItemCommentDao
.
replaceList
(
group
);
searchCommentManager
.
batchIndex
(
group
,
CommonConstants
.
ES_ORDER_COMMENTS_INDEX
);
}
}
...
...
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