Commit 36190a6c authored by Quxl's avatar Quxl

x

parent 4ff16809
...@@ -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("sPinyinCode")).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"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment