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
dc0f52d8
Commit
dc0f52d8
authored
Aug 02, 2019
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
a5af9428
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
OrderRentVehicleService.java
.../xxfc/platform/order/service/OrderRentVehicleService.java
+4
-4
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/service/OrderRentVehicleService.java
View file @
dc0f52d8
...
...
@@ -328,10 +328,10 @@ public class OrderRentVehicleService extends AbstractOrderHandle<OrderRentVehicl
modelAmount
=
new
BigDecimal
(
prices
[(
memberEnum
.
getCode
()
-
1
)]);
rebate
=
modelAmount
.
divide
(
vehicleModel
.
getPrice
()).
multiply
(
hundred
).
setScale
(
0
,
BigDecimal
.
ROUND_UP
).
intValue
();
}
return
new
HandleDiscountDTO
(){{
setModelAmount
(
modelAmount
);
setRebate
(
rebate
);
}}
;
HandleDiscountDTO
handleDiscountDTO
=
new
HandleDiscountDTO
();
handleDiscountDTO
.
setRebate
(
rebate
);
handleDiscountDTO
.
setModelAmount
(
modelAmount
);
return
handleDiscountDTO
;
}
@Data
...
...
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