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
753f1607
Commit
753f1607
authored
Jun 09, 2020
by
xiaoer.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:空指针
parent
6008f9d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/CustomerScoreService.java
+2
-2
No files found.
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/CustomerScoreService.java
View file @
753f1607
...
@@ -67,8 +67,8 @@ public class CustomerScoreService implements IPromotionService {
...
@@ -67,8 +67,8 @@ public class CustomerScoreService implements IPromotionService {
customerScoreVo
.
setReducePriceLimit
(
getValue
(
userScoreUseDetail
.
getResult
().
getReducePriceLimit
()));
customerScoreVo
.
setReducePriceLimit
(
getValue
(
userScoreUseDetail
.
getResult
().
getReducePriceLimit
()));
customerScoreVo
.
setOverlayOffers
(
userScoreUseDetail
.
getResult
().
getOverlayOffers
());
customerScoreVo
.
setOverlayOffers
(
userScoreUseDetail
.
getResult
().
getOverlayOffers
());
// 是否可优惠同享{0所有订单均可抵扣,1仅限原价订单才可抵扣(享受了促销活动、或使用了优惠券,不能进行积分抵扣
// 是否可优惠同享{0所有订单均可抵扣,1仅限原价订单才可抵扣(享受了促销活动、或使用了优惠券,不能进行积分抵扣
if
(
userScoreUseDetail
.
getResult
().
getOverlayOffers
(
)
==
0
)
{
if
(
getValue
(
userScoreUseDetail
.
getResult
().
getOverlayOffers
()
)
==
0
)
{
customerScoreVo
.
setScoreReduceState
(
userScoreUseDetail
.
getResult
().
getScoreState
(
));
customerScoreVo
.
setScoreReduceState
(
getValue
(
userScoreUseDetail
.
getResult
().
getScoreState
()
));
}
else
{
}
else
{
if
(
StringUtils
.
isNotBlank
(
shoppingCartInfoRequestVo
.
getCouponCode
())
||
(
calculationDiscountResult
!=
null
&&
calculationDiscountResult
.
getTotalDiscountAmount
().
intValue
()
>
0
))
{
if
(
StringUtils
.
isNotBlank
(
shoppingCartInfoRequestVo
.
getCouponCode
())
||
(
calculationDiscountResult
!=
null
&&
calculationDiscountResult
.
getTotalDiscountAmount
().
intValue
()
>
0
))
{
//积分抵扣开关禁用
//积分抵扣开关禁用
...
...
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