| | |
| | | { |
| | | 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); |
| | |
| | | where = where.And(p => p.distributionCutMoney == distributionCutMoney); |
| | | } |
| | | |
| | | //是否删除 bit |
| | | //是否定制 bit |
| | | var isCustomizable = Request.Form["isCustomizable"].FirstOrDefault(); |
| | | if (!string.IsNullOrEmpty(isCustomizable) && isCustomizable.ToLowerInvariant() == "true") |
| | | { |