Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
peizhen-java
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
PeiZhen-Java
peizhen-java
Commits
73a408c6
Commit
73a408c6
authored
Sep 19, 2023
by
sdif
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户端代码提交
parent
90f77d47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
pz-system/src/main/java/com/pz/system/service/impl/TotalOrderServiceImpl.java
+2
-0
No files found.
pz-system/src/main/java/com/pz/system/service/impl/TotalOrderServiceImpl.java
View file @
73a408c6
...
@@ -766,6 +766,7 @@ public class TotalOrderServiceImpl implements ITotalOrderService {
...
@@ -766,6 +766,7 @@ public class TotalOrderServiceImpl implements ITotalOrderService {
if
(!
sonOrderFlag
)
{
if
(!
sonOrderFlag
)
{
throw
new
ServiceException
(
"子订单状态修改出错,接单失败"
);
throw
new
ServiceException
(
"子订单状态修改出错,接单失败"
);
}
}
totalOrder
.
setSuborderStatus
(
CommonOrderStatus
.
REFUND
.
getCode
());
if
(
baseMapper
.
updateById
(
totalOrder
)
>
0
)
{
if
(
baseMapper
.
updateById
(
totalOrder
)
>
0
)
{
// 添加退款记录
// 添加退款记录
PaymentRecord
paymentRecord
=
new
PaymentRecord
();
PaymentRecord
paymentRecord
=
new
PaymentRecord
();
...
@@ -885,6 +886,7 @@ public class TotalOrderServiceImpl implements ITotalOrderService {
...
@@ -885,6 +886,7 @@ public class TotalOrderServiceImpl implements ITotalOrderService {
.set(StoreOrder::getStatus, ShopOrderStatus.BEING_REFUND.getCode()));
.set(StoreOrder::getStatus, ShopOrderStatus.BEING_REFUND.getCode()));
}*/
}*/
totalOrder
.
setSuborderStatus
(
CommonOrderStatus
.
BEING_REFUND
.
getCode
());
baseMapper
.
updateById
(
totalOrder
);
baseMapper
.
updateById
(
totalOrder
);
return
true
;
return
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