Browse Source

收藏夹定制信息修改

eganwu 1 year ago
parent
commit
1e3c744637
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/custom/restcontroller/sale/shoppingcart/ShoppingCart.java

+ 2 - 2
src/custom/restcontroller/sale/shoppingcart/ShoppingCart.java

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