瀏覽代碼

opt:更改商品分类添加属性值设置排序问题

ingredientmanage
zhaoy 7 月之前
父節點
當前提交
14126b15ac
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      BPA.SAAS.Manage.Application/DataBase/Services/GoodsAttributeService.cs

+ 1
- 1
BPA.SAAS.Manage.Application/DataBase/Services/GoodsAttributeService.cs 查看文件

@@ -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);


Loading…
取消
儲存