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
0f97d875
Commit
0f97d875
authored
Nov 19, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
f336a529
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
TourGoodSpeBiz.java
.../main/java/com/xxfc/platform/tour/biz/TourGoodSpeBiz.java
+1
-1
No files found.
xx-tour/xx-tour-server/src/main/java/com/xxfc/platform/tour/biz/TourGoodSpeBiz.java
View file @
0f97d875
...
@@ -56,7 +56,7 @@ public class TourGoodSpeBiz extends BaseBiz<TourGoodSpePriceMapper, TourGoodSpeP
...
@@ -56,7 +56,7 @@ public class TourGoodSpeBiz extends BaseBiz<TourGoodSpePriceMapper, TourGoodSpeP
priceVo
.
setOriginalPrice
(
price
);
priceVo
.
setOriginalPrice
(
price
);
priceVo
.
setChildOriginalPrice
(
childPrice
);
priceVo
.
setChildOriginalPrice
(
childPrice
);
BigDecimal
totalPrice
=
price
.
multiply
(
new
BigDecimal
(
number
)).
setScale
(
2
,
RoundingMode
.
HALF_UP
);
BigDecimal
totalPrice
=
price
.
multiply
(
new
BigDecimal
(
number
)).
setScale
(
2
,
RoundingMode
.
HALF_UP
);
BigDecimal
totalChildPrice
=
childNumber
>
0
?
p
rice
.
multiply
(
new
BigDecimal
(
childNumber
)).
setScale
(
2
,
RoundingMode
.
HALF_UP
):
new
BigDecimal
(
"0.00"
);
BigDecimal
totalChildPrice
=
childNumber
>
0
?
childP
rice
.
multiply
(
new
BigDecimal
(
childNumber
)).
setScale
(
2
,
RoundingMode
.
HALF_UP
):
new
BigDecimal
(
"0.00"
);
priceVo
.
setTotalPrice
(
totalPrice
);
priceVo
.
setTotalPrice
(
totalPrice
);
priceVo
.
setTotalChildPrice
(
totalChildPrice
);
priceVo
.
setTotalChildPrice
(
totalChildPrice
);
if
(
level
!=
null
&&
level
>
0
)
{
if
(
level
!=
null
&&
level
>
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