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
0bbe4f0b
Commit
0bbe4f0b
authored
Sep 20, 2023
by
sdif
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户端代码提交
parent
4cbb57a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
pz-system/src/main/java/com/pz/system/service/impl/TotalOrderServiceImpl.java
+3
-1
No files found.
pz-system/src/main/java/com/pz/system/service/impl/TotalOrderServiceImpl.java
View file @
0bbe4f0b
...
@@ -738,8 +738,10 @@ public class TotalOrderServiceImpl implements ITotalOrderService {
...
@@ -738,8 +738,10 @@ public class TotalOrderServiceImpl implements ITotalOrderService {
// 修改子订单状态
// 修改子订单状态
boolean
sonOrderFlag
=
orderService
.
switchSonOrderStatus
(
totalOrder
.
getId
(),
CommonOrderStatus
.
REFUND
.
getCode
());
boolean
sonOrderFlag
=
orderService
.
switchSonOrderStatus
(
totalOrder
.
getId
(),
CommonOrderStatus
.
REFUND
.
getCode
());
UserRefund
userRefund
=
userRefundMapper
.
selectOne
(
new
LambdaQueryWrapper
<
UserRefund
>().
eq
(
UserRefund:
:
getOrderId
,
totalOrder
.
getId
()));
// 除了商城订单和诊前挂号不需要给陪诊员和商户分成
// 除了商城订单和诊前挂号不需要给陪诊员和商户分成
if
(
totalOrder
.
getBusinessId
()
!=
0
&&
totalOrder
.
getBusinessId
()
!=
6
&&
totalOrder
.
getStatus
()
==
2
)
{
if
(
totalOrder
.
getBusinessId
()
!=
0
&&
totalOrder
.
getBusinessId
()
!=
6
&&
null
!=
userRefund
&&
sonOrderSimpleDataByTotalId
.
getOrderStatus
()
==
3
)
{
Services
services
=
servicesMapper
.
selectById
(
totalOrder
.
getServiceId
());
Services
services
=
servicesMapper
.
selectById
(
totalOrder
.
getServiceId
());
if
(
services
.
getFenmo
()
!=
0
)
{
if
(
services
.
getFenmo
()
!=
0
)
{
double
money
=
0
;
double
money
=
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