Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ufo
/
yohoufo-fore
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Lixiaodi
5 years ago
Commit
e968142fa614219bac39cab82c1ac993b6bee146
1 parent
bf69ac7b
bug修改
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
product/src/main/java/com/yohoufo/product/service/impl/ProductServiceImpl.java
product/src/main/java/com/yohoufo/product/service/impl/ProductServiceImpl.java
View file @
e968142
...
...
@@ -2026,8 +2026,8 @@ public class ProductServiceImpl implements ProductService {
if
(!
Objects
.
isNull
(
sort
))
{
BigDecimal
rate
=
new
BigDecimal
(
"100"
);
productInfo
.
setCategoryServiceFeeRate
(
sort
.
getServiceFeeRate
()
==
null
?
null
:
sort
.
getServiceFeeRate
().
divide
(
rate
));
productInfo
.
setCategoryServiceFeeMinPrice
(
sort
.
getServiceFeeMinPrice
()
==
null
?
null
:
sort
.
getServiceFeeMinPrice
().
divide
(
rate
));
productInfo
.
setCategoryServiceFeeMaxPrice
(
sort
.
getServiceFeeMaxPrice
()
==
null
?
null
:
sort
.
getServiceFeeMaxPrice
().
divide
(
rate
));
productInfo
.
setCategoryServiceFeeMinPrice
(
sort
.
getServiceFeeMinPrice
());
productInfo
.
setCategoryServiceFeeMaxPrice
(
sort
.
getServiceFeeMaxPrice
());
}
}
...
...
Please
register
or
login
to post a comment