Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
shop
Project
Project
Details
Activity
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
曲欣亮
shop
Commits
36190a6c
Commit
36190a6c
authored
Sep 18, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
4ff16809
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
BrandController.java
src/main/java/com/egolm/shop/controller/BrandController.java
+1
-1
No files found.
src/main/java/com/egolm/shop/controller/BrandController.java
View file @
36190a6c
...
@@ -92,7 +92,7 @@ public class BrandController {
...
@@ -92,7 +92,7 @@ public class BrandController {
//用map把相同首字母放到同一个list中
//用map把相同首字母放到同一个list中
Map
<
String
,
List
>
pinMap
=
new
HashMap
<>();
Map
<
String
,
List
>
pinMap
=
new
HashMap
<>();
for
(
Map
<
String
,
Object
>
item:
listMap
)
{
for
(
Map
<
String
,
Object
>
item:
listMap
)
{
String
first
=((
String
)
item
.
get
(
"PinyinCode"
)).
substring
(
0
,
1
).
toUpperCase
();
String
first
=((
String
)
item
.
get
(
"
s
PinyinCode"
)).
substring
(
0
,
1
).
toUpperCase
();
Map
<
String
,
String
>
BrandMap
=
new
HashMap
<>();
Map
<
String
,
String
>
BrandMap
=
new
HashMap
<>();
BrandMap
.
put
(
"sBrandID"
,
(
String
)
item
.
get
(
"sBrandID"
));
BrandMap
.
put
(
"sBrandID"
,
(
String
)
item
.
get
(
"sBrandID"
));
BrandMap
.
put
(
"sBrandName"
,
(
String
)
item
.
get
(
"sBrandName"
));
BrandMap
.
put
(
"sBrandName"
,
(
String
)
item
.
get
(
"sBrandName"
));
...
...
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