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
802c708c
Commit
802c708c
authored
Dec 14, 2020
by
孙昱
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'qa' of gitlab.freemud.com:order-group-application/order-group into qa
parents
25fc5504
541e5c79
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
1 deletions
+11
-1
order-application-service/src/main/java/cn/freemud/entities/dto/activity/PayGiftCheckAndJoinResponseDto.java
+5
-0
order-application-service/src/main/java/cn/freemud/entities/vo/QueryOrderResponseVo.java
+3
-0
order-application-service/src/main/java/cn/freemud/service/impl/OrderServiceImpl.java
+1
-0
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/mcoffee/ShoppingCartMCoffeeServiceImpl.java
+2
-1
No files found.
order-application-service/src/main/java/cn/freemud/entities/dto/activity/PayGiftCheckAndJoinResponseDto.java
View file @
802c708c
...
@@ -23,6 +23,11 @@ import java.util.List;
...
@@ -23,6 +23,11 @@ import java.util.List;
@Data
@Data
public
class
PayGiftCheckAndJoinResponseDto
{
public
class
PayGiftCheckAndJoinResponseDto
{
/**
* 活动号
*/
private
String
activityNo
;
private
String
activityName
;
private
String
activityName
;
/**
/**
* 发送方式
* 发送方式
...
...
order-application-service/src/main/java/cn/freemud/entities/vo/QueryOrderResponseVo.java
View file @
802c708c
...
@@ -363,6 +363,9 @@ public class QueryOrderResponseVo {
...
@@ -363,6 +363,9 @@ public class QueryOrderResponseVo {
//支付有礼活动名称
//支付有礼活动名称
private
String
activityName
;
private
String
activityName
;
//支付有礼活动号
private
String
activityNo
;
/**
/**
* 支付有礼发送方式
* 支付有礼发送方式
* 0-静默发送
* 0-静默发送
...
...
order-application-service/src/main/java/cn/freemud/service/impl/OrderServiceImpl.java
View file @
802c708c
...
@@ -1299,6 +1299,7 @@ public class OrderServiceImpl implements Orderservice {
...
@@ -1299,6 +1299,7 @@ public class OrderServiceImpl implements Orderservice {
BaseResponse
<
PayGiftCheckAndJoinResponseDto
>
payGiftBaseResponse
=
activityApplicationClient
.
payGiftCheckAndJoin
(
payGitRequestDto
);
BaseResponse
<
PayGiftCheckAndJoinResponseDto
>
payGiftBaseResponse
=
activityApplicationClient
.
payGiftCheckAndJoin
(
payGitRequestDto
);
if
(
String
.
valueOf
(
RESPONSE_SUCCESS_CODE
).
equals
(
payGiftBaseResponse
.
getCode
())
&&
payGiftBaseResponse
.
getResult
()
!=
null
)
{
if
(
String
.
valueOf
(
RESPONSE_SUCCESS_CODE
).
equals
(
payGiftBaseResponse
.
getCode
())
&&
payGiftBaseResponse
.
getResult
()
!=
null
)
{
PayGiftCheckAndJoinResponseDto
payGiftResponse
=
payGiftBaseResponse
.
getResult
();
PayGiftCheckAndJoinResponseDto
payGiftResponse
=
payGiftBaseResponse
.
getResult
();
queryOrderResponseVo
.
setActivityNo
(
payGiftResponse
.
getActivityNo
());
queryOrderResponseVo
.
setActivityName
(
payGiftResponse
.
getActivityName
());
queryOrderResponseVo
.
setActivityName
(
payGiftResponse
.
getActivityName
());
queryOrderResponseVo
.
setCoupons
(
payGiftResponse
.
getCoupons
());
queryOrderResponseVo
.
setCoupons
(
payGiftResponse
.
getCoupons
());
queryOrderResponseVo
.
setWechatCouponInfo
(
payGiftResponse
.
getWechatCouponInfo
());
queryOrderResponseVo
.
setWechatCouponInfo
(
payGiftResponse
.
getWechatCouponInfo
());
...
...
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/mcoffee/ShoppingCartMCoffeeServiceImpl.java
View file @
802c708c
...
@@ -273,7 +273,8 @@ public class ShoppingCartMCoffeeServiceImpl {
...
@@ -273,7 +273,8 @@ public class ShoppingCartMCoffeeServiceImpl {
&&
cartGoods
.
getName
().
equals
(
"啡常搭"
)
&&
cartGoods
.
getGoodsType
().
equals
(
GoodsTypeEnum
.
SET_MEAL_GOODS
.
getGoodsType
())
&&
cartGoods
.
getName
().
equals
(
"啡常搭"
)
&&
cartGoods
.
getGoodsType
().
equals
(
GoodsTypeEnum
.
SET_MEAL_GOODS
.
getGoodsType
())
&&
CollectionUtils
.
isNotEmpty
(
cartGoods
.
getProductComboList
())
&&
cartGoods
.
getProductComboList
().
size
()
==
1
&&
CollectionUtils
.
isNotEmpty
(
cartGoods
.
getProductComboList
())
&&
cartGoods
.
getProductComboList
().
size
()
==
1
&&
cartGoods
.
getProductComboList
().
get
(
0
).
getSkuId
().
equals
(
goodsId
)
&&
cartGoods
.
getProductComboList
().
get
(
0
).
getSkuId
().
equals
(
goodsId
)
&&
CollectionUtils
.
isEmpty
(
cartGoods
.
getProductGroupList
()))
{
&&
CollectionUtils
.
isNotEmpty
(
cartGoods
.
getProductGroupList
())
&&
cartGoods
.
getProductGroupList
().
size
()
==
1
&&
cartGoods
.
getProductGroupList
().
get
(
0
).
getSkuId
().
equals
(
"0"
)
&&
cartGoods
.
getProductGroupList
().
get
(
0
).
getSkuName
().
equals
(
"无"
))
{
// 如果购物车商品存在商品规格,替换时复制规格信息
// 如果购物车商品存在商品规格,替换时复制规格信息
if
(
CollectionUtils
.
isNotEmpty
(
cartGoods
.
getProductComboList
().
get
(
0
).
getSpecialExtra
()))
{
if
(
CollectionUtils
.
isNotEmpty
(
cartGoods
.
getProductComboList
().
get
(
0
).
getSpecialExtra
()))
{
addShoppingCartGoodsRequestVo
.
setSpecialExtra
(
cartGoods
.
getProductComboList
().
get
(
0
).
getSpecialExtra
());
addShoppingCartGoodsRequestVo
.
setSpecialExtra
(
cartGoods
.
getProductComboList
().
get
(
0
).
getSpecialExtra
());
...
...
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