移动系统liao
2024-05-29 f8ed0a1ee63cad489c67caaf76e9527a06da2947
CoreCms.Net.Web.Admin/Controllers/baifenbingfa/CoreCmsProductsController.cs
@@ -217,18 +217,19 @@
            {
                where = where.And(p => p.images.Contains(images));
            }
         //是否删除 bit
         var isDel = Request.Form["isDel"].FirstOrDefault();
            if (!string.IsNullOrEmpty(isDel) && isDel.ToLowerInvariant() == "true")
            {
                where = where.And(p => p.isDel == true);
            }
            else if (!string.IsNullOrEmpty(isDel) && isDel.ToLowerInvariant() == "false")
            {
                where = where.And(p => p.isDel == false);
            }
         // decimal
         var distributionPrice = Request.Form["distributionPrice"].FirstOrDefault().ObjectToDecimal(0);
         ////是否删除 bit
         //var isDel = Request.Form["isDel"].FirstOrDefault();
   //         if (!string.IsNullOrEmpty(isDel) && isDel.ToLowerInvariant() == "true")
   //         {
   //             where = where.And(p => p.isDel == true);
   //         }
   //         else if (!string.IsNullOrEmpty(isDel) && isDel.ToLowerInvariant() == "false")
   //         {
   //             where = where.And(p => p.isDel == false);
   //         }
            where = where.And(p => p.isDel == false);
            // decimal
            var distributionPrice = Request.Form["distributionPrice"].FirstOrDefault().ObjectToDecimal(0);
            if (distributionPrice > 0)
            {
                where = where.And(p => p.distributionPrice == distributionPrice);
@@ -246,7 +247,7 @@
                where = where.And(p => p.distributionCutMoney == distributionCutMoney);
            }
            //是否删除 bit
            //是否定制 bit
            var isCustomizable = Request.Form["isCustomizable"].FirstOrDefault();
            if (!string.IsNullOrEmpty(isCustomizable) && isCustomizable.ToLowerInvariant() == "true")
            {