Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pseer
gxpt_ht
Commits
dfb44892
Commit
dfb44892
authored
Sep 24, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改次卡,月卡支付回调
parent
d44ebe21
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
CallbackServiceImpl.java
...n/java/share/system/service/impl/CallbackServiceImpl.java
+2
-2
MonthlyCardOrderServiceImpl.java
...hare/system/service/impl/MonthlyCardOrderServiceImpl.java
+1
-0
SecondaryCardOrderServiceImpl.java
...re/system/service/impl/SecondaryCardOrderServiceImpl.java
+1
-0
No files found.
share-system/src/main/java/share/system/service/impl/CallbackServiceImpl.java
View file @
dfb44892
...
@@ -637,7 +637,7 @@ public class CallbackServiceImpl implements CallbackService {
...
@@ -637,7 +637,7 @@ public class CallbackServiceImpl implements CallbackService {
logger
.
error
(
"微信支付回调出错"
);
logger
.
error
(
"微信支付回调出错"
);
logger
.
error
(
e
.
toString
());
logger
.
error
(
e
.
toString
());
}
}
logger
.
debug
(
"结束
权益会员
订单回调"
);
logger
.
debug
(
"结束
次卡
订单回调"
);
if
(!
secondaryCardBoolean
)
{
if
(!
secondaryCardBoolean
)
{
logger
.
error
(
"saobei wechat pay error : 订单更新失败==》"
+
param
.
getTerminal_trace
());
logger
.
error
(
"saobei wechat pay error : 订单更新失败==》"
+
param
.
getTerminal_trace
());
responseVo
.
setReturn_code
(
SaobeiStatusEnum
.
FAIL
.
getCode
());
responseVo
.
setReturn_code
(
SaobeiStatusEnum
.
FAIL
.
getCode
());
...
@@ -715,7 +715,7 @@ public class CallbackServiceImpl implements CallbackService {
...
@@ -715,7 +715,7 @@ public class CallbackServiceImpl implements CallbackService {
logger
.
error
(
"微信支付回调出错"
);
logger
.
error
(
"微信支付回调出错"
);
logger
.
error
(
e
.
toString
());
logger
.
error
(
e
.
toString
());
}
}
logger
.
debug
(
"结束
权益会员
订单回调"
);
logger
.
debug
(
"结束
月卡
订单回调"
);
if
(!
monthlyCardBoolean
)
{
if
(!
monthlyCardBoolean
)
{
logger
.
error
(
"saobei wechat pay error : 订单更新失败==》"
+
param
.
getTerminal_trace
());
logger
.
error
(
"saobei wechat pay error : 订单更新失败==》"
+
param
.
getTerminal_trace
());
responseVo
.
setReturn_code
(
SaobeiStatusEnum
.
FAIL
.
getCode
());
responseVo
.
setReturn_code
(
SaobeiStatusEnum
.
FAIL
.
getCode
());
...
...
share-system/src/main/java/share/system/service/impl/MonthlyCardOrderServiceImpl.java
View file @
dfb44892
...
@@ -159,6 +159,7 @@ public class MonthlyCardOrderServiceImpl extends ServiceImpl<MonthlyCardOrderMap
...
@@ -159,6 +159,7 @@ public class MonthlyCardOrderServiceImpl extends ServiceImpl<MonthlyCardOrderMap
@Override
@Override
public
void
paymentSuccessful
(
MonthlyCardOrder
monthlyCardOrder
)
{
public
void
paymentSuccessful
(
MonthlyCardOrder
monthlyCardOrder
)
{
updateById
(
monthlyCardOrder
);
ConsumerMonthlyCard
consumerMonthlyCard
=
new
ConsumerMonthlyCard
();
ConsumerMonthlyCard
consumerMonthlyCard
=
new
ConsumerMonthlyCard
();
MonthlyCardConf
byId
=
monthlyCardConfService
.
getById
(
monthlyCardOrder
.
getMonthlyCardConfId
());
MonthlyCardConf
byId
=
monthlyCardConfService
.
getById
(
monthlyCardOrder
.
getMonthlyCardConfId
());
consumerMonthlyCard
.
setMonthlyCardConfId
(
byId
.
getId
());
consumerMonthlyCard
.
setMonthlyCardConfId
(
byId
.
getId
());
...
...
share-system/src/main/java/share/system/service/impl/SecondaryCardOrderServiceImpl.java
View file @
dfb44892
...
@@ -149,6 +149,7 @@ public class SecondaryCardOrderServiceImpl extends ServiceImpl<SecondaryCardOrde
...
@@ -149,6 +149,7 @@ public class SecondaryCardOrderServiceImpl extends ServiceImpl<SecondaryCardOrde
@Override
@Override
public
void
paymentSuccessful
(
SecondaryCardOrder
secondaryCardOrder
)
{
public
void
paymentSuccessful
(
SecondaryCardOrder
secondaryCardOrder
)
{
updateById
(
secondaryCardOrder
);
ConsumerSecondaryCard
consumerSecondaryCard
=
new
ConsumerSecondaryCard
();
ConsumerSecondaryCard
consumerSecondaryCard
=
new
ConsumerSecondaryCard
();
SecondaryCardConf
secondaryCardConf
=
secondaryCardConfService
.
getById
(
secondaryCardOrder
.
getSecondaryCardConfId
());
SecondaryCardConf
secondaryCardConf
=
secondaryCardConfService
.
getById
(
secondaryCardOrder
.
getSecondaryCardConfId
());
consumerSecondaryCard
.
setSecondaryCardConfId
(
secondaryCardOrder
.
getSecondaryCardConfId
());
consumerSecondaryCard
.
setSecondaryCardConfId
(
secondaryCardOrder
.
getSecondaryCardConfId
());
...
...
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