|
@@ -843,16 +843,16 @@ public class itemgroup extends Controller {
|
|
|
}
|
|
|
}
|
|
|
if (!isexistParm) {
|
|
|
- if(list.get(0).equals("color")){
|
|
|
+ if(list.get(0).equals("spec")){
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
jsonObject.put("parm", firstspec);
|
|
|
jsonObject.put("flag", true);
|
|
|
- colormap.add(jsonObject);
|
|
|
+ specmap.add(jsonObject);
|
|
|
}else{
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
jsonObject.put("parm", firstspec);
|
|
|
jsonObject.put("flag", false);
|
|
|
- colormap.add(jsonObject);
|
|
|
+ specmap.add(jsonObject);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -866,16 +866,16 @@ public class itemgroup extends Controller {
|
|
|
}
|
|
|
}
|
|
|
if (!isexistParm) {
|
|
|
- if(list.get(0).equals("color")){
|
|
|
+ if(list.get(0).equals("material")){
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
jsonObject.put("parm", firstmaterial);
|
|
|
jsonObject.put("flag", true);
|
|
|
- colormap.add(jsonObject);
|
|
|
+ materialmap.add(jsonObject);
|
|
|
}else{
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
jsonObject.put("parm", firstmaterial);
|
|
|
jsonObject.put("flag", false);
|
|
|
- colormap.add(jsonObject);
|
|
|
+ materialmap.add(jsonObject);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -889,16 +889,16 @@ public class itemgroup extends Controller {
|
|
|
}
|
|
|
}
|
|
|
if (!isexistParm) {
|
|
|
- if(list.get(0).equals("color")){
|
|
|
+ if(list.get(0).equals("cheek")){
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
jsonObject.put("parm", firstcheek);
|
|
|
jsonObject.put("flag", true);
|
|
|
- colormap.add(jsonObject);
|
|
|
+ cheekmap.add(jsonObject);
|
|
|
}else{
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
jsonObject.put("parm", firstcheek);
|
|
|
jsonObject.put("flag", false);
|
|
|
- colormap.add(jsonObject);
|
|
|
+ cheekmap.add(jsonObject);
|
|
|
}
|
|
|
}
|
|
|
}
|