|
|
@ -78,7 +78,7 @@ namespace Coldairarrow.Business.HuiYan |
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
public AjaxResult GetLabelByItemIds(List<string> ids, ItemPlatform platform) |
|
|
|
public List<ItemlabelInfoDto> GetLabelByItemIds(List<string> ids, ItemPlatform platform) |
|
|
|
{ |
|
|
|
Expression<Func<itemlabels, items, ItemlabelInfoDto>> select = (a, b) => new ItemlabelInfoDto |
|
|
|
{ |
|
|
@ -112,14 +112,14 @@ namespace Coldairarrow.Business.HuiYan |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
return Success(list); |
|
|
|
return list; |
|
|
|
} |
|
|
|
|
|
|
|
public AjaxResult GetAlbbLabelByShopIds(List<string>ids) |
|
|
|
public List<albbitemlabels> GetAlbbLabelByShopIds(List<string>ids) |
|
|
|
{ |
|
|
|
var list= Db.GetIQueryable<albbitemlabels>().Where(c => ids.Contains(c.ShopId)); |
|
|
|
var list= Db.GetIQueryable<albbitemlabels>().Where(c => ids.Contains(c.ShopId)).ToList(); |
|
|
|
|
|
|
|
return Success(list); |
|
|
|
return list; |
|
|
|
} |
|
|
|
|
|
|
|
public AjaxResult SetItemLabel(ItemLabelDto model) |
|
|
@ -372,7 +372,7 @@ namespace Coldairarrow.Business.HuiYan |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public AjaxResult GetItemsByJpLabels(int type) |
|
|
|
public List<ItemlabelInfoDto> GetItemsByJpLabels(int type) |
|
|
|
{ |
|
|
|
Expression<Func<itemlabels, items, ItemlabelInfoDto>> select = (a, b) => new ItemlabelInfoDto |
|
|
|
{ |
|
|
@ -394,7 +394,7 @@ namespace Coldairarrow.Business.HuiYan |
|
|
|
|
|
|
|
var list = q.Where(where).ToList(); |
|
|
|
|
|
|
|
return Success(list); |
|
|
|
return list; |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|