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
da6f073d
Commit
da6f073d
authored
Aug 31, 2021
by
ping.wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
判断修改
parent
21b26916
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/ShoppingCartCollageServiceImpl.java
+1
-1
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/ShoppingCartNewServiceImpl.java
+2
-2
No files found.
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/ShoppingCartCollageServiceImpl.java
View file @
da6f073d
...
...
@@ -1348,7 +1348,7 @@ public class ShoppingCartCollageServiceImpl extends AbstractShoppingCartImpl imp
Integer
amount1
=
response
.
getResult
().
getCardSimpleInfos
().
get
(
0
).
getAmount
();
Integer
vamount
=
response
.
getResult
().
getCardSimpleInfos
().
get
(
0
).
getVamount
();
Integer
applyType
=
response
.
getResult
().
getCardSimpleInfos
().
get
(
0
).
getApplyType
();
applyType
=
applyType
==
null
?
3
:
0
;
applyType
=
applyType
==
null
?
3
:
applyType
;
String
svcDesc
=
applyType
==
3
?
"储值卡支付¥"
:
"礼品卡支付¥"
;
if
(
orderAmount
>
amount1
+
vamount
)
{
throw
new
ServiceException
(
ResponseResult
.
USER_SVC_CARD_AMOUNT_DEFICIENCY
);
...
...
shopping-cart-application-service/src/main/java/cn/freemud/service/impl/ShoppingCartNewServiceImpl.java
View file @
da6f073d
...
...
@@ -2302,7 +2302,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
}
boolean
check
=
this
.
checkSvcComPay
(
partnerId
,
storeId
);
Integer
applyType
=
response
.
getResult
().
getCardSimpleInfos
().
get
(
0
).
getApplyType
();
applyType
=
applyType
==
null
?
3
:
0
;
applyType
=
applyType
==
null
?
3
:
applyType
;
String
svcDesc
=
applyType
==
3
?
"储值卡支付¥"
:
"礼品卡支付¥"
;
if
(
check
)
{
//混合支付无需校验svc卡余额,但是配送和包装费不计算在svc卡支付
...
...
@@ -2371,7 +2371,7 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
}
boolean
check
=
this
.
checkSvcComPay
(
partnerId
,
storeId
);
Integer
applyType
=
response
.
getResult
().
getCardSimpleInfos
().
get
(
0
).
getApplyType
();
applyType
=
applyType
==
null
?
3
:
0
;
applyType
=
applyType
==
null
?
3
:
applyType
;
String
svcDesc
=
applyType
==
3
?
"储值卡支付¥"
:
"礼品卡支付¥"
;
if
(
check
)
{
//混合支付无需校验svc卡余额,但是配送和包装费不计算在svc卡支付
...
...
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