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
45be6a5c
Commit
45be6a5c
authored
Sep 08, 2021
by
胡博文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复不能用其他优惠券问题
parent
a06dc669
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
2 deletions
+8
-2
order-application-service/src/main/java/cn/freemud/entities/vo/CreateOrderVo.java
+5
-0
order-application-service/src/main/java/cn/freemud/service/impl/CheckOrder.java
+1
-0
order-application-service/src/main/java/cn/freemud/service/thirdparty/ShoppingCartClient.java
+1
-1
shopping-cart-application-service/src/main/java/cn/freemud/entities/vo/ShoppingCartInfoRequestVo.java
+1
-1
No files found.
order-application-service/src/main/java/cn/freemud/entities/vo/CreateOrderVo.java
View file @
45be6a5c
...
...
@@ -102,6 +102,11 @@ public class CreateOrderVo {
private
Byte
marketingType
;
/**
* 1、结算页 0
*/
private
Integer
flag
;
/**
* 到店类型 orderType 传1的时候 如果reachStoreTyp为空转成订单类型4 如果不为空存储4(打包带走)和5(店内就餐)
*/
private
Integer
reachStoreType
;
...
...
order-application-service/src/main/java/cn/freemud/service/impl/CheckOrder.java
View file @
45be6a5c
...
...
@@ -657,6 +657,7 @@ public class CheckOrder {
.
useCustomerScore
(
createOrderVo
.
getUseCustomerScore
())
.
buyMemberCard
(
buyMemberCard
)
.
menuType
(
createOrderVo
.
getMenuType
())
.
flag
(
1
)
//结算页
// 预定单类型传递 购物车中进行查询
.
bizType
(
createOrderVo
.
getBizType
())
.
build
();
...
...
order-application-service/src/main/java/cn/freemud/service/thirdparty/ShoppingCartClient.java
View file @
45be6a5c
...
...
@@ -24,7 +24,7 @@ import org.springframework.web.bind.annotation.PostMapping;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
@FeignClient
(
name
=
"SHOPPING-CART-APPLICATION-SERVICE"
,
url
=
"
${saas.newshoppingcartclient.feign.url}
"
)
@FeignClient
(
name
=
"SHOPPING-CART-APPLICATION-SERVICE"
,
url
=
"
http://localhost:9211
"
)
@RequestMapping
(
value
=
"/shoppingCart"
,
produces
=
{
"application/json;charset=UTF-8"
})
public
interface
ShoppingCartClient
{
...
...
shopping-cart-application-service/src/main/java/cn/freemud/entities/vo/ShoppingCartInfoRequestVo.java
View file @
45be6a5c
...
...
@@ -56,7 +56,7 @@ public class ShoppingCartInfoRequestVo extends BaseRequestVo {
* 1:结算页 0:点餐页
* 结算页会查询用户优惠券,点餐页不会查询用户优惠券
*/
private
Integer
flag
;
private
Integer
flag
=
1
;
/**
* 优惠券code
*/
...
...
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