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
084291d1
Commit
084291d1
authored
Jun 02, 2020
by
shuhu.hou@freemud.cn
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/20200525_会员价'
parents
7a8faf53
ac387630
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletions
+20
-1
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/ShoppingCartNewServiceImpl.java
+1
-1
shopping-cart-application-service/src/main/java/cn/freemud/service/strategy/DefaultDiscountStrategy.java
+19
-0
No files found.
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/ShoppingCartNewServiceImpl.java
View file @
084291d1
...
...
@@ -863,7 +863,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
ProductBeanDTO
productBean
;
if
((
productBean
=
productBeanMap
.
get
(
sendGoods
.
getGoodsId
()))
!=
null
)
{
// 设置加价购商品原价
sendGoods
.
setOriginalPrice
(
productBean
.
get
Orig
inalPrice
());
sendGoods
.
setOriginalPrice
(
productBean
.
get
F
inalPrice
());
}
else
{
throw
new
ServiceException
(
ResponseResult
.
SHOPPING_CART_SENDGOODS_NOT_EXIST
);
}
...
...
shopping-cart-application-service/src/main/java/cn/freemud/service/strategy/DefaultDiscountStrategy.java
0 → 100644
View file @
084291d1
package
cn
.
freemud
.
service
.
strategy
;
import
org.springframework.stereotype.Component
;
/**
* All rights Reserved, Designed By www.freemud.cn
*
* @version V1.0
* @Title: DefaultDiscountStrategy
* @Package cn.freemud.service.strategy
* @Description:
* @author: shuhu.hou
* @date: 2020/6/2 16:12
* @Copyright: 2020 www.freemud.cn Inc. All rights reserved.
* 注意:本内容仅限于上海非码科技内部传阅,禁止外泄以及用于其他的商业目
*/
@Component
public
class
DefaultDiscountStrategy
{
}
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