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
634f33a0
Commit
634f33a0
authored
Oct 12, 2020
by
yu.sun
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of gitlab.freemud.com:order-group-application/order-group into develop
parents
b401feb3
55e57062
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
2 deletions
+20
-2
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
+2
-2
order-application-service/src/main/java/cn/freemud/entities/vo/CreateOrderVo.java
+8
-0
order-application-service/src/main/java/cn/freemud/entities/vo/ShoppingCartInfoRequestVo.java
+8
-0
order-application-service/src/main/java/cn/freemud/service/impl/CheckMCCafeOrder.java
+2
-0
No files found.
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
View file @
634f33a0
...
...
@@ -264,7 +264,7 @@ public class OrderAdapter {
if
(
null
!=
shoppingCartGoodsDto
.
getPayCardFee
()
&&
0
l
!=
shoppingCartGoodsDto
.
getPayCardFee
())
{
CreateOrderAccountRequest
createOrderAccountDto
=
CreateOrderAccountRequest
.
builder
()
.
accountId
(
""
)
.
name
(
"
麦咖啡月
卡"
)
.
name
(
"
啡常月享
卡"
)
.
price
(
shoppingCartGoodsDto
.
getPayCardFee
())
.
accountType
(
QueryOrderAccountType
.
MCCAFE_MONTH_CARD
)
.
sequence
(
orderAccountIndex
++)
...
...
@@ -1197,7 +1197,7 @@ public class OrderAdapter {
responseVo
.
setOrderAccounts
(
convent2OrderAccountVo
(
ordersBean
.
getApportionDetails
()));
if
(
CollectionUtils
.
isNotEmpty
(
ordersBean
.
getOrderCostDetailList
()))
{
ordersBean
.
getOrderCostDetailList
().
forEach
(
o
->
{
if
(
o
.
getCostType
()
==
10
)
{
if
(
o
.
getCostType
()
==
10
&&
o
.
getBillType
()
==
1
)
{
ProductVo
productVo
=
new
ProductVo
();
productVo
.
setName
(
o
.
getCostName
());
productVo
.
setSpuName
(
o
.
getCostName
());
...
...
order-application-service/src/main/java/cn/freemud/entities/vo/CreateOrderVo.java
View file @
634f33a0
...
...
@@ -232,6 +232,14 @@ public class CreateOrderVo {
private
String
invoiceTitle
;
/**
* 随单购是否购买月享卡
* 1:不购买,2:月卡续费,3:新购月卡
*/
private
String
buyMonthlyCard
;
private
String
monthlyCardCode
;
/**
* 是否使用电子风味卡,如果不为空则为使用
*/
@Valid
...
...
order-application-service/src/main/java/cn/freemud/entities/vo/ShoppingCartInfoRequestVo.java
View file @
634f33a0
...
...
@@ -100,6 +100,14 @@ public class ShoppingCartInfoRequestVo {
private
String
receiveId
;
/**
* 随单购是否购买月享卡
* 1:不购买,2:月卡续费,3:新购月卡
*/
private
String
buyMonthlyCard
;
private
String
monthlyCardCode
;
@Data
public
final
static
class
SendGoods
{
/**
...
...
order-application-service/src/main/java/cn/freemud/service/impl/CheckMCCafeOrder.java
View file @
634f33a0
...
...
@@ -479,6 +479,8 @@ public class CheckMCCafeOrder {
.
useCustomerScore
(
createOrderVo
.
getUseCustomerScore
())
.
buyMemberCard
(
null
)
.
menuType
(
createOrderVo
.
getMenuType
())
.
buyMonthlyCard
(
createOrderVo
.
getBuyMonthlyCard
())
.
monthlyCardCode
(
createOrderVo
.
getMonthlyCardCode
())
.
build
();
List
<
MCCafeCouponVo
>
couponCodeList
=
new
ArrayList
<>();
if
(
StringUtils
.
isNotBlank
(
createOrderVo
.
getCouponCode
()))
{
...
...
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