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
0378e4b9
Commit
0378e4b9
authored
Jul 27, 2021
by
周晓航
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'KA-20210722-自提根据模板配置计算餐具包装费ID1033456-zxh' into qa
parents
5dd30e13
a3d48549
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
shopping-cart-application-service/src/main/java/cn/freemud/handle/CommonFunctionHandle.java
+3
-0
No files found.
shopping-cart-application-service/src/main/java/cn/freemud/handle/CommonFunctionHandle.java
View file @
0378e4b9
...
@@ -32,6 +32,9 @@ public class CommonFunctionHandle {
...
@@ -32,6 +32,9 @@ public class CommonFunctionHandle {
* @return 外卖 true 打包带走 false null 为其他业务问题 不进入需求
* @return 外卖 true 打包带走 false null 为其他业务问题 不进入需求
*/
*/
public
Long
getPackAmountByStoreConfig
(
ShoppingCartInfoRequestVo
shoppingCartInfoRequestVo
,
Long
newPackAmount
)
{
public
Long
getPackAmountByStoreConfig
(
ShoppingCartInfoRequestVo
shoppingCartInfoRequestVo
,
Long
newPackAmount
)
{
if
(
Objects
.
isNull
(
shoppingCartInfoRequestVo
))
{
return
newPackAmount
;
}
Boolean
isTakeOut
=
null
;
Boolean
isTakeOut
=
null
;
if
(
Objects
.
equals
(
shoppingCartInfoRequestVo
.
getOrderType
(),
CreateOrderType
.
TAKE_OUT
.
getCode
()))
{
if
(
Objects
.
equals
(
shoppingCartInfoRequestVo
.
getOrderType
(),
CreateOrderType
.
TAKE_OUT
.
getCode
()))
{
isTakeOut
=
true
;
isTakeOut
=
true
;
...
...
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