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
e66dcd63
Commit
e66dcd63
authored
Oct 22, 2021
by
查志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店配置字段修改
parent
62571423
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
order-application-service/src/main/java/cn/freemud/entities/dto/store/BusinessInfoDto.java
+1
-1
order-application-service/src/main/java/cn/freemud/service/impl/CashierOrderServiceImpl.java
+1
-1
No files found.
order-application-service/src/main/java/cn/freemud/entities/dto/store/BusinessInfoDto.java
View file @
e66dcd63
...
@@ -232,7 +232,7 @@ public class BusinessInfoDto {
...
@@ -232,7 +232,7 @@ public class BusinessInfoDto {
/**
/**
* 收银买单开关 1 开启 2 关闭
* 收银买单开关 1 开启 2 关闭
*/
*/
private
Integer
cashierPayType
;
private
Integer
supportCashierPay
;
/**
/**
* 拓展字段定义
* 拓展字段定义
...
...
order-application-service/src/main/java/cn/freemud/service/impl/CashierOrderServiceImpl.java
View file @
e66dcd63
...
@@ -74,7 +74,7 @@ public class CashierOrderServiceImpl implements CashierOrderService {
...
@@ -74,7 +74,7 @@ public class CashierOrderServiceImpl implements CashierOrderService {
});
});
if
(
null
==
storeMix
.
getStoreInfo
()
||
null
==
storeMix
.
getBusinessInfo
())
throw
new
ServiceException
(
ResponseResult
.
STORE_DATE_ERROR
);
if
(
null
==
storeMix
.
getStoreInfo
()
||
null
==
storeMix
.
getBusinessInfo
())
throw
new
ServiceException
(
ResponseResult
.
STORE_DATE_ERROR
);
// 门店未配置收银买单开关或者未配置为 1-开启, 则不允许下单
// 门店未配置收银买单开关或者未配置为 1-开启, 则不允许下单
if
(!
Objects
.
equals
(
storeMix
.
getBusinessInfo
().
get
CashierPayType
(),
1
))
throw
new
ServiceException
(
ResponseResult
.
STORE_CASHIER_CONFIG_ERROR
);
if
(!
Objects
.
equals
(
storeMix
.
getBusinessInfo
().
get
SupportCashierPay
(),
1
))
throw
new
ServiceException
(
ResponseResult
.
STORE_CASHIER_CONFIG_ERROR
);
//创建订单
//创建订单
CreateOrderRequest
request
=
this
.
generateCreateOrderRequest
(
storeMix
.
getStoreInfo
(),
createOrderDto
.
getOrderAmount
(),
member
);
CreateOrderRequest
request
=
this
.
generateCreateOrderRequest
(
storeMix
.
getStoreInfo
(),
createOrderDto
.
getOrderAmount
(),
member
);
...
...
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