浏览代码

Merge branch 'develop' into develop2

hu 9 月之前
父节点
当前提交
c120a35bc3
共有 1 个文件被更改,包括 9 次插入9 次删除
  1. 9 9
      src/custom/restcontroller/sale/itemgroup/itemgroup.java

+ 9 - 9
src/custom/restcontroller/sale/itemgroup/itemgroup.java

@@ -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);
                     }
                 }
             }