aush 8 月之前
父節點
當前提交
18324f595d
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      WriteErase/ClassPages/PageMain.xaml.cs
  2. 2 2
      WriteErase/ClassPages/PageOrderView.xaml.cs

+ 2 - 2
WriteErase/ClassPages/PageMain.xaml.cs

@@ -118,12 +118,12 @@ namespace WriteErase.ClassPages
                     }
                 case 2:
                     {
-                        _products = _products.Where(tb => tb.ProductDiscountMax > 10.0 && tb.ProductDiscountMax >= 14.99).ToList();
+                        _products = _products.Where(tb => tb.ProductDiscountMax >= 10.0 && tb.ProductDiscountMax <= 14.99).ToList();
                         break;
                     }
                 case 3:
                     {
-                        _products = _products.Where(tb => tb.ProductDiscountMax > 15.0).ToList();
+                        _products = _products.Where(tb => tb.ProductDiscountMax >= 15.0).ToList();
                         break;
                     }
                 default:

+ 2 - 2
WriteErase/ClassPages/PageOrderView.xaml.cs

@@ -75,12 +75,12 @@ namespace WriteErase.ClassPages
                     }
                 case 2:
                     {
-                        list = list.Where(tb => tb.ProcentCost > 10.0 && tb.ProcentCost >= 14.99).ToList();
+                        list = list.Where(tb => tb.ProcentCost >= 10.0 && tb.ProcentCost <= 14.99).ToList();
                         break;
                     }
                 case 3:
                     {
-                        list = list.Where(tb => tb.ProcentCost > 15.0).ToList();
+                        list = list.Where(tb => tb.ProcentCost >= 15.0).ToList();
                         break;
                     }
                 default: