Procházet zdrojové kódy

收藏夹定制信息修改

eganwu před 1 rokem
rodič
revize
e61be9e13f

+ 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<>());