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
d50bf75f
Commit
d50bf75f
authored
Jun 01, 2020
by
dingkai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/1.9.24-fix-mall-20200522-dingkai'
parents
2c3f5147
1eb9379c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
+3
-3
order-application-service/src/main/java/cn/freemud/service/impl/CheckMallOrder.java
+1
-2
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/ShoppingCartMallServiceImpl.java
+6
-4
No files found.
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
View file @
d50bf75f
...
...
@@ -855,9 +855,9 @@ public class OrderAdapter {
}
if
(
OrderChannelType
.
SAASMALL
.
getCode
().
equals
(
channelType
))
{
Integer
[]
statuses
=
new
Integer
[]{
OrderStatus
.
COMPLETE
.
getCode
(),
OrderStatus
.
CALCEL
.
getCode
()};
queryOrdersDto
.
setStatus
(
statuses
);
queryOrdersDto
.
setType
(
new
Integer
[]{});
//
Integer[] statuses = new Integer[]{OrderStatus.COMPLETE.getCode(), OrderStatus.CALCEL.getCode()};
//
queryOrdersDto.setStatus(statuses);
//
queryOrdersDto.setType(new Integer[]{});
}
return
queryOrdersDto
;
...
...
order-application-service/src/main/java/cn/freemud/service/impl/CheckMallOrder.java
View file @
d50bf75f
...
...
@@ -170,8 +170,7 @@ public class CheckMallOrder {
requestDto
.
setPremiumExchangeActivity
(
createOrderVo
.
getPremiumExchangeActivity
());
cn
.
freemud
.
base
.
entity
.
BaseResponse
<
ShoppingCartGoodsDto
>
apportionResponse
=
shoppingCartClient
.
getShoppingCartGoodsApportionNew
(
requestDto
);
if
(!
ObjectUtils
.
equals
(
ResponseCodeConstant
.
RESPONSE_SUCCESS_STR
,
apportionResponse
.
getCode
()))
{
ResponseResult
responseResult
=
ResponseResult
.
getResponseResult
(
apportionResponse
.
getCode
());
throw
new
ServiceException
(
responseResult
!=
null
?
responseResult
:
ResponseResult
.
SHOPPING_CART_GETINFO_ERROR
);
throw
new
ServiceException
(
ResponseResult
.
SHOPPING_CART_GETINFO_ERROR
);
}
if
(
apportionResponse
.
getResult
()
==
null
||
CollectionUtils
.
isEmpty
(
apportionResponse
.
getResult
().
getProducts
()))
{
throw
new
ServiceException
(
ResponseResult
.
SHOPPING_CART_GETINFO_INVAILD
);
...
...
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/ShoppingCartMallServiceImpl.java
View file @
d50bf75f
...
...
@@ -325,8 +325,11 @@ public class ShoppingCartMallServiceImpl implements ShoppingCartNewService {
String
userId
=
userLoginInfoDto
.
getMemberId
();
String
partnerId
=
shoppingCartClearRequestVo
.
getPartnerId
();
String
storeId
=
this
.
getBindMallShopId
(
appId
);
shoppingCartClearRequestVo
.
setShopId
(
storeId
);
String
storeId
=
shoppingCartClearRequestVo
.
getShopId
();
if
(
Objects
.
equals
(
shoppingCartClearRequestVo
.
getOperationType
(),
OperationTypeEnum
.
PAY_SUCCESS
.
getOperationType
()))
{
storeId
=
this
.
getBindMallShopId
(
appId
);
shoppingCartClearRequestVo
.
setShopId
(
storeId
);
}
// 构造请求参数,进行清空购物车
com
.
freemud
.
sdk
.
api
.
assortment
.
shoppingcart
.
domain
.
CartParamDto
cartParamDto
=
assortmentSdkService
.
getCartParamDto
(
partnerId
,
storeId
,
userId
);
...
...
@@ -359,8 +362,7 @@ public class ShoppingCartMallServiceImpl implements ShoppingCartNewService {
String
userId
=
userLoginInfoDto
.
getMemberId
();
String
partnerId
=
shoppingCartInfoRequestVo
.
getPartnerId
();
String
appId
=
shoppingCartInfoRequestVo
.
getAppId
();
String
storeId
=
this
.
getBindMallShopId
(
appId
);
shoppingCartInfoRequestVo
.
setShopId
(
storeId
);
String
storeId
=
shoppingCartInfoRequestVo
.
getShopId
();
List
<
ShoppingCartInfoRequestVo
.
SendGoods
>
sendGoodsList
=
shoppingCartInfoRequestVo
.
getSendGoods
();
...
...
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