Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
5e54a35b
Commit
5e54a35b
authored
Nov 27, 2020
by
周健威
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature_chw_zjw2' into dev-chw
parents
92a9c059
164d7cc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
OrderCancelBiz.java
...ava/com/xxfc/platform/order/biz/inner/OrderCancelBiz.java
+8
-6
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/inner/OrderCancelBiz.java
View file @
5e54a35b
...
@@ -434,6 +434,12 @@ public class OrderCancelBiz {
...
@@ -434,6 +434,12 @@ public class OrderCancelBiz {
}});
}});
if
(
null
!=
specialRent
)
{
if
(
null
!=
specialRent
)
{
//特惠租车 恢复排班记录
VehicleVO
vehicle
=
vehicleFeign
.
getVehicleDetail
(
specialRent
.
getVehicleId
()).
getData
();
Long
delayTime
=
specialRentBiz
.
handleRent
(
specialRent
,
vehicle
);
specialRent
.
setUpdTime
(
null
);
specialRentBiz
.
updateSelectiveById
(
specialRent
);
Integer
status
=
SpecialRent
.
STATUS_AUTOCNL_TOPAY
;
Integer
status
=
SpecialRent
.
STATUS_AUTOCNL_TOPAY
;
if
(
SYS_TRUE
.
equals
(
baseOrder
.
getHasPay
()))
{
if
(
SYS_TRUE
.
equals
(
baseOrder
.
getHasPay
()))
{
//
//
...
@@ -445,14 +451,10 @@ public class OrderCancelBiz {
...
@@ -445,14 +451,10 @@ public class OrderCancelBiz {
setStatus
(
finalStatus
);
setStatus
(
finalStatus
);
setOrderStatus
(
SpecialRent
.
ORDER_STATUS_CANCEL
);
setOrderStatus
(
SpecialRent
.
ORDER_STATUS_CANCEL
);
}});
}});
rabbitProduct
.
sendSpecialDelayMessage
(
specialRentBiz
.
selectById
(
specialRent
.
getId
()),
delayTime
);
}
}
//特惠租车 恢复排班记录
VehicleVO
vehicle
=
vehicleFeign
.
getVehicleDetail
(
specialRent
.
getVehicleId
()).
getData
();
Long
delayTime
=
specialRentBiz
.
handleRent
(
specialRent
,
vehicle
);
specialRent
.
setUpdTime
(
null
);
specialRentBiz
.
updateSelectiveById
(
specialRent
);
rabbitProduct
.
sendSpecialDelayMessage
(
specialRentBiz
.
selectById
(
specialRent
.
getId
()),
delayTime
);
}
}
}
else
if
(
OrderTypeEnum
.
TOUR
.
getCode
().
equals
(
baseOrder
.
getType
()))
{
}
else
if
(
OrderTypeEnum
.
TOUR
.
getCode
().
equals
(
baseOrder
.
getType
()))
{
...
...
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