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
d92f3331
Commit
d92f3331
authored
Sep 09, 2021
by
胡博文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更换标识字段
parent
e69e6e74
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
3 deletions
+11
-3
order-application-service/src/main/java/cn/freemud/entities/vo/ShoppingCartInfoRequestVo.java
+5
-0
order-application-service/src/main/java/cn/freemud/service/impl/CheckOrder.java
+2
-1
shopping-cart-application-service/src/main/java/cn/freemud/entities/vo/ShoppingCartInfoRequestVo.java
+3
-1
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/ShoppingCartNewServiceImpl.java
+1
-1
No files found.
order-application-service/src/main/java/cn/freemud/entities/vo/ShoppingCartInfoRequestVo.java
View file @
d92f3331
...
...
@@ -57,6 +57,11 @@ public class ShoppingCartInfoRequestVo {
*/
private
Integer
flag
;
/**
* 1 为结算页用券
*/
private
Integer
useCouponFlag
;
/**
* 优惠券code
*/
private
String
couponCode
;
...
...
order-application-service/src/main/java/cn/freemud/service/impl/CheckOrder.java
View file @
d92f3331
...
...
@@ -657,7 +657,8 @@ public class CheckOrder {
.
useCustomerScore
(
createOrderVo
.
getUseCustomerScore
())
.
buyMemberCard
(
buyMemberCard
)
.
menuType
(
createOrderVo
.
getMenuType
())
.
flag
(
1
)
//结算页
.
useCouponFlag
(
1
)
//结算页
//.flag(1)
// 预定单类型传递 购物车中进行查询
.
bizType
(
createOrderVo
.
getBizType
())
.
build
();
...
...
shopping-cart-application-service/src/main/java/cn/freemud/entities/vo/ShoppingCartInfoRequestVo.java
View file @
d92f3331
...
...
@@ -56,7 +56,9 @@ public class ShoppingCartInfoRequestVo extends BaseRequestVo {
* 1:结算页 0:点餐页
* 结算页会查询用户优惠券,点餐页不会查询用户优惠券
*/
private
Integer
flag
=
1
;
private
Integer
flag
;
//1:结算页
private
Integer
useCouponFlag
;
/**
* 优惠券code
*/
...
...
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/ShoppingCartNewServiceImpl.java
View file @
d92f3331
...
...
@@ -1053,7 +1053,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
String
activityCode
=
shoppingCartInfoRequestVo
.
getActivityCode
();
List
<
ChooseCouponVo
>
couponCodes
=
shoppingCartInfoRequestVo
.
getCouponCodes
();
Integer
bizType
=
shoppingCartInfoRequestVo
.
getBizType
();
Integer
accountFlag
=
shoppingCartInfoRequestVo
.
getFlag
();
Integer
accountFlag
=
shoppingCartInfoRequestVo
.
get
UseCoupon
Flag
();
if
(
Objects
.
isNull
(
couponCode
)
&&
CollectionUtils
.
isNotEmpty
(
couponCodes
))
{
// fisherman 这里可能会有问题 如果只有配送券的情况下 这里 过滤掉了 得检查后面的逻辑 是否用了list去做事情
...
...
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