Browse Source

收藏夹定制信息修改

eganwu 1 year ago
parent
commit
e61be9e13f
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/custom/restcontroller/sale/favorites/favorites.java

+ 6 - 0
src/custom/restcontroller/sale/favorites/favorites.java

@@ -150,6 +150,12 @@ public class favorites extends Controller {
             row = customScheme.setScheme(row, "material");
             row = customScheme.setScheme(row, "color");
             row = customScheme.setScheme(row, "cheek");
+            if (row.getLong("width") == 0) {
+                row.replace("width", "");
+            }
+            if (row.getLong("length") == 0) {
+                row.replace("length", "");
+            }
         }
 
         ArrayList<Long> ids = itemrows.toArrayList("itemid", new ArrayList<>());