Commit 75fc5ec1 authored by 吴春's avatar 吴春

Merge branch 'HK' of http://gitlab.oytour.com/Kui2/mall.oytour.com into sdzq

parents 3aa6f208 f052c784
...@@ -1498,6 +1498,7 @@ namespace Mall.Module.Product ...@@ -1498,6 +1498,7 @@ namespace Mall.Module.Product
//2020-08-05 根据分类查找商品对应的分类包邮规则 add by :W //2020-08-05 根据分类查找商品对应的分类包邮规则 add by :W
if (model.CategoryList != null && model.CategoryList.Any()) if (model.CategoryList != null && model.CategoryList.Any())
{ {
string categoryIds = string.Join(",", model.CategoryList.Select(x => x.CategoryId)); string categoryIds = string.Join(",", model.CategoryList.Select(x => x.CategoryId));
var freeShippingList = freeShippingRepository.GetFreeShippingListByCategoryIds(new RB_FreeShipping_Extend { MallBaseId = model.MallBaseId, TenantId = model.TenantId, CategoryIds = categoryIds }); var freeShippingList = freeShippingRepository.GetFreeShippingListByCategoryIds(new RB_FreeShipping_Extend { MallBaseId = model.MallBaseId, TenantId = model.TenantId, CategoryIds = categoryIds });
if (freeShippingList != null && freeShippingList.Any() && ((model.FullNumPinkage ?? 0) == 0) && ((model.FullMoneyPinkage ?? 0) == 0)) if (freeShippingList != null && freeShippingList.Any() && ((model.FullNumPinkage ?? 0) == 0) && ((model.FullMoneyPinkage ?? 0) == 0))
...@@ -2431,6 +2432,7 @@ namespace Mall.Module.Product ...@@ -2431,6 +2432,7 @@ namespace Mall.Module.Product
mall_id = model.MallBaseId, mall_id = model.MallBaseId,
mch_id = model.TenantId,//暂 商户id mch_id = model.TenantId,//暂 商户id
//goods_warehouse_id = 0,// //goods_warehouse_id = 0,//
categoryIdList = model?.CategoryList?.Select(x => x.CategoryId ?? 0).ToList(),
status = model.GoodsStatus, status = model.GoodsStatus,
isAllowShare = IsAllowShare,//是否可以分享 isAllowShare = IsAllowShare,//是否可以分享
advertising = model.Advertising,//广告词 advertising = model.Advertising,//广告词
...@@ -3757,7 +3759,8 @@ namespace Mall.Module.Product ...@@ -3757,7 +3759,8 @@ namespace Mall.Module.Product
ReserveCount=qitem.OrderNum, ReserveCount=qitem.OrderNum,
ServiceId=qitem.ID ServiceId=qitem.ID
}), }),
storeDateList= storeDateList.Select(qitem => new {qitem.DayDateStr,qitem.WeekDayStr,qitem.TimeList}) categoryIdList = model.CategoryList.Select(x => x.CategoryId ?? 0).ToList(),
storeDateList = storeDateList.Select(qitem => new {qitem.DayDateStr,qitem.WeekDayStr,qitem.TimeList})
}, },
delivery = "" delivery = ""
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment