diff --git a/BPA.SAAS.Manage.Application/DataBase/Services/GoodsAttributeService.cs b/BPA.SAAS.Manage.Application/DataBase/Services/GoodsAttributeService.cs index 14d9255..8d08238 100644 --- a/BPA.SAAS.Manage.Application/DataBase/Services/GoodsAttributeService.cs +++ b/BPA.SAAS.Manage.Application/DataBase/Services/GoodsAttributeService.cs @@ -41,7 +41,7 @@ namespace BPA.Franchisee.Application.FranchiseeCenter.GoodsServices }) .Mapper(x => { - var list=_db.Queryable().Where(p=> p.GoodsAttributeId==x.Id).ToList(); + var list=_db.Queryable().Where(p=> p.GoodsAttributeId==x.Id).OrderBy(x=>x.Sort).ToList(); x.AttributeValueList = list; }) .ToPageList(dto.Current, dto.PageSize, ref total);