|
@@ -333,10 +333,10 @@ public class ShoppingCart extends Controller {
|
|
|
row = customScheme.setScheme(row, "material");
|
|
|
row = customScheme.setScheme(row, "color");
|
|
|
row = customScheme.setScheme(row, "cheek");
|
|
|
- if (row.getLong("width") == 0) {
|
|
|
+ if (row.getBigDecimal("width").compareTo(BigDecimal.ZERO)==0) {
|
|
|
row.replace("width", null);
|
|
|
}
|
|
|
- if (row.getLong("length") == 0) {
|
|
|
+ if (row.getBigDecimal("length").compareTo(BigDecimal.ZERO)==0) {
|
|
|
row.replace("length", null);
|
|
|
}
|
|
|
row.put("isselect", true);
|