Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mall-server
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
yimu
mall-server
Commits
a9215cf4
Commit
a9215cf4
authored
Dec 24, 2021
by
wp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拷贝编号
parent
16103378
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
SkuServiceImpl.java
...erver/admin/goods_center/service/impl/SkuServiceImpl.java
+2
-2
No files found.
mall-server-admin/src/main/java/com/fzm/mall/server/admin/goods_center/service/impl/SkuServiceImpl.java
View file @
a9215cf4
...
...
@@ -133,7 +133,7 @@ public class SkuServiceImpl extends ServiceImpl<SkuMapper, Sku> implements ISkuS
nos
[
0
]
=
0
;
for
(
int
i
=
0
;
i
<
kDTO
.
getStock
();
i
++)
{
String
hash
=
chainUtil
.
evmPublishTokenSplit
(
merchant
.
getTokenIssueAddr
(),
Long
.
parseLong
(
tokenId
+
(
i
+
1
)),
1L
);
nos
[
i
+
1
]
=
i
+
1
;
nos
[
i
+
1
]
=
1
;
hashs
[
i
]
=
hash
;
}
...
...
@@ -308,7 +308,7 @@ public class SkuServiceImpl extends ServiceImpl<SkuMapper, Sku> implements ISkuS
String
hash
=
chainUtil
.
evmPublishTokenSplit
(
merchant
.
getTokenIssueAddr
(),
Long
.
parseLong
(
tokenId
+
(
i
+
1
)),
1L
);
hashs
[
i
]
=
hash
;
}
nos
[
i
+
1
]
=
i
+
1
;
nos
[
i
+
1
]
=
1
;
}
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
...
...
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