Browse Source

sku查询条件错误

GOIAggregation
sanji 2 years ago
parent
commit
cf0f421e1e
  1. 2
      SiNan.Business/GOIBusiness.cs

2
SiNan.Business/GOIBusiness.cs

@ -414,7 +414,7 @@ namespace SiNan.Business
var productSkuList = fsql.Select<ProductSku, AggregationJDPopularizeSku>() var productSkuList = fsql.Select<ProductSku, AggregationJDPopularizeSku>()
.InnerJoin((ps, aps) => ps.Id == aps.Id) .InnerJoin((ps, aps) => ps.Id == aps.Id)
.Where((ps, aps) => ps.State == 1) .Where((ps, aps) => ps.State == 1)
.Where((ps, aps) => ps.Id == request.Spu) .Where((ps, aps) => ps.ProductId == request.Spu)
.Where((ps, aps) => aps.Recent7dCost > 0 || aps.Recent30dCost > 0) .Where((ps, aps) => aps.Recent7dCost > 0 || aps.Recent30dCost > 0)
.OrderByDescending((ps, aps) => ps.CreateTime) .OrderByDescending((ps, aps) => ps.CreateTime)
.ToList((ps, aps) => new TempProductSku() .ToList((ps, aps) => new TempProductSku()

Loading…
Cancel
Save