Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
23be5d9c
Commit
23be5d9c
authored
Nov 15, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
盲袋详情进度条保留整数
parent
62992d11
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/BlindBoxServiceImpl.java
...com/wwdz/ch/wx/impl/distribution/BlindBoxServiceImpl.java
+1
-1
No files found.
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/BlindBoxServiceImpl.java
View file @
23be5d9c
...
...
@@ -182,7 +182,7 @@ public class BlindBoxServiceImpl implements BlindBoxService {
blindBoxDetailVo
.
setPrice
(
PriceUtil
.
convertPriceFenToYuan
(
supplierItem
.
getDistributionPrice
()));
blindBoxDetailVo
.
setTotalNum
(
pageInfo
.
getTotal
());
blindBoxDetailVo
.
setRemainNum
(
supplierItem
.
getStock
().
longValue
()
<
0
?
0
:
supplierItem
.
getStock
().
longValue
());
blindBoxDetailVo
.
setRate
(
String
.
valueOf
(
Math
.
ceil
((
blindBoxDetailVo
.
getRemainNum
().
doubleValue
()
/
pageInfo
.
getTotal
())
*
100
)));
blindBoxDetailVo
.
setRate
(
String
.
valueOf
(
(
int
)
Math
.
ceil
((
blindBoxDetailVo
.
getRemainNum
().
doubleValue
()
/
pageInfo
.
getTotal
())
*
100
)));
//查询购买记录
//盲袋的编码
List
<
String
>
codes
=
new
ArrayList
<>();
...
...
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