|
|
@@ -41,7 +41,7 @@ namespace BPA.Franchisee.Application.FranchiseeCenter.GoodsServices |
|
|
|
}) |
|
|
|
.Mapper(x => |
|
|
|
{ |
|
|
|
var list=_db.Queryable<BPA_GoodsAttributeValue>().Where(p=> p.GoodsAttributeId==x.Id).ToList(); |
|
|
|
var list=_db.Queryable<BPA_GoodsAttributeValue>().Where(p=> p.GoodsAttributeId==x.Id).OrderBy(x=>x.Sort).ToList(); |
|
|
|
x.AttributeValueList = list; |
|
|
|
}) |
|
|
|
.ToPageList(dto.Current, dto.PageSize, ref total); |
|
|
|