|
@@ -168,7 +168,12 @@ public class promotion extends Controller {
|
|
row = customScheme.setScheme(row, "material");
|
|
row = customScheme.setScheme(row, "material");
|
|
row = customScheme.setScheme(row, "color");
|
|
row = customScheme.setScheme(row, "color");
|
|
row = customScheme.setScheme(row, "cheek");
|
|
row = customScheme.setScheme(row, "cheek");
|
|
-
|
|
|
|
|
|
+ if (row.getLong("width") == 0) {
|
|
|
|
+ row.replace("width", null);
|
|
|
|
+ }
|
|
|
|
+ if (row.getLong("length") == 0) {
|
|
|
|
+ row.replace("length", null);
|
|
|
|
+ }
|
|
row.putIfAbsent("saledqty", 0);
|
|
row.putIfAbsent("saledqty", 0);
|
|
row.putIfAbsent("islimit", 0);
|
|
row.putIfAbsent("islimit", 0);
|
|
row.putIfAbsent("groupqty", 1);
|
|
row.putIfAbsent("groupqty", 1);
|
|
@@ -317,7 +322,12 @@ public class promotion extends Controller {
|
|
row = customScheme.setScheme(row, "material");
|
|
row = customScheme.setScheme(row, "material");
|
|
row = customScheme.setScheme(row, "color");
|
|
row = customScheme.setScheme(row, "color");
|
|
row = customScheme.setScheme(row, "cheek");
|
|
row = customScheme.setScheme(row, "cheek");
|
|
-
|
|
|
|
|
|
+ if (row.getLong("width") == 0) {
|
|
|
|
+ row.replace("width", null);
|
|
|
|
+ }
|
|
|
|
+ if (row.getLong("length") == 0) {
|
|
|
|
+ row.replace("length", null);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
return getSucReturnObject().setData(rows).toString();
|
|
return getSucReturnObject().setData(rows).toString();
|