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
f9d658af
Commit
f9d658af
authored
Nov 19, 2019
by
周健威
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'holiday-price' into dev
parents
f8e93a85
5c58349d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
OrderAccountBiz.java
...ain/java/com/xxfc/platform/order/biz/OrderAccountBiz.java
+5
-1
TourGoodSpeBiz.java
.../main/java/com/xxfc/platform/tour/biz/TourGoodSpeBiz.java
+1
-1
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/OrderAccountBiz.java
View file @
f9d658af
...
@@ -430,10 +430,14 @@ public class OrderAccountBiz extends BaseBiz<OrderAccountMapper,OrderAccount> {
...
@@ -430,10 +430,14 @@ public class OrderAccountBiz extends BaseBiz<OrderAccountMapper,OrderAccount> {
//设置违约金
//设置违约金
//设置原来算出的违约金及描述
//设置原来算出的违约金及描述
csv
.
setViolateAmount
(
inProgressVO
.
getViolateAmount
());
csv
.
setViolateAmount
(
inProgressVO
.
getViolateAmount
());
csv
.
setViolateDesc
(
inProgressVO
.
getViolateDesc
()
);
csv
.
setViolateDesc
(
""
);
//处理更改之后的违约金及描述
//处理更改之后的违约金及描述
handleCrosstownDetail
(
crosstown
,
oad
,
csv
);
handleCrosstownDetail
(
crosstown
,
oad
,
csv
);
if
(
StrUtil
.
isBlank
(
csv
.
getViolateDesc
()))
{
csv
.
setViolateDesc
(
inProgressVO
.
getViolateDesc
());
}
//退款
//退款
BigDecimal
refundAmont
=
oad
.
getDepositAmount
().
add
(
oad
.
getOrderAmount
());
BigDecimal
refundAmont
=
oad
.
getDepositAmount
().
add
(
oad
.
getOrderAmount
());
//crosstown.getRestDeposit().subtract(illegalReserve);
//crosstown.getRestDeposit().subtract(illegalReserve);
...
...
xx-tour/xx-tour-server/src/main/java/com/xxfc/platform/tour/biz/TourGoodSpeBiz.java
View file @
f9d658af
...
@@ -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