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
a2948ae1
Commit
a2948ae1
authored
Dec 15, 2020
by
缪晖
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/20201208_collageOrder_miaohui' into 'qa'
goodsTag取值逻辑修正 See merge request
!95
parents
870f063f
f2896b45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
order-application-service/src/main/java/cn/freemud/service/impl/OrderServiceImpl.java
+2
-4
No files found.
order-application-service/src/main/java/cn/freemud/service/impl/OrderServiceImpl.java
View file @
a2948ae1
...
@@ -2752,10 +2752,8 @@ public class OrderServiceImpl implements Orderservice {
...
@@ -2752,10 +2752,8 @@ public class OrderServiceImpl implements Orderservice {
// 拼单人数大于1人时参加拼单补贴
// 拼单人数大于1人时参加拼单补贴
if
(
null
!=
orderBean
.
getProductList
()
&&
orderBean
.
getProductList
().
stream
().
map
(
QueryOrdersResponse
.
DataBean
.
OrderBean
.
ProductBean
::
getUserId
).
distinct
().
collect
(
Collectors
.
toList
()).
size
()
>
1
)
{
if
(
null
!=
orderBean
.
getProductList
()
&&
orderBean
.
getProductList
().
stream
().
map
(
QueryOrdersResponse
.
DataBean
.
OrderBean
.
ProductBean
::
getUserId
).
distinct
().
collect
(
Collectors
.
toList
()).
size
()
>
1
)
{
Map
<
String
,
String
>
goodsTagMap
=
this
.
goodsTagMap
();
Map
<
String
,
String
>
goodsTagMap
=
this
.
goodsTagMap
();
if
(
null
!=
goodsTagMap
&&
!
goodsTagMap
.
isEmpty
())
{
String
goodsTag
=
goodsTagMap
.
get
(
orderBean
.
getCompanyId
());
// 根据商户号获取
request
.
setGoodsTag
(
StringUtils
.
isBlank
(
goodsTag
)
?
collageGoodsTag
:
goodsTag
);
request
.
setGoodsTag
(
goodsTagMap
.
get
(
orderBean
.
getCompanyId
())
==
null
?
collageGoodsTag
:
goodsTagMap
.
get
(
orderBean
.
getCompanyId
()));
}
}
}
}
}
// add by miaohui for 拼单群收款判断拼单人数大于1时参与微信平台补贴活动,创建预支付时上送goodsTag,后续抽成促销服务活动时删除此逻辑 end
// add by miaohui for 拼单群收款判断拼单人数大于1时参与微信平台补贴活动,创建预支付时上送goodsTag,后续抽成促销服务活动时删除此逻辑 end
...
...
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