key1_beacon_api/ARW.Service/Business/IBusinessService/GoodsManager/GoodsSpecs/GoodsSpecRels/IGoodsSpecRelService.cs
2023-06-24 23:21:02 +08:00

48 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ARW.Model;
using ARW.Model.Dto.Business.GoodsManager.GoodsSpecs.GoodsSpecRels;
using ARW.Model.Models.Business.GoodsManager.GoodsSpecs.GoodsSpecRels;
using ARW.Model.Vo.Business.GoodsManager.GoodsSpecs.GoodsSpecRels;
using ARW.Repository.Business.GoodsManager.GoodsSpecs.GoodsSpecRels;
namespace ARW.Service.Business.IBusinessService.GoodsManager.GoodsSpecs.GoodsSpecRels
{
/// <summary>
/// 商品与规格值关系记录接口类
///
/// @author lwh
/// @date 2023-06-19
/// </summary>
public interface IGoodsSpecRelService : IBaseService<GoodsSpecRel>
{
/// <summary>
/// 获取商品与规格值关系记录分页列表
/// </summary>
/// <param name="parm"></param>
/// <returns></returns>
Task<PagedInfo<GoodsSpecRelVo>> GetGoodsSpecRelList(GoodsSpecRelQueryDto parm);
/// <summary>
/// 新增商品与规格值关系
/// </summary>
/// <param name="goodsSpecRelList">商品与规格值关系列表</param>
Task InsertGoodsSpecRelAsync(List<GoodsSpecRel> goodsSpecRelList);
/// <summary>
/// 更新商品与规格值关系
/// </summary>
/// <param name="goodsSpecRelList">商品与规格值关系列表</param>
/// <returns></returns>
Task UpdateGoodsSpecRelAsync(List<GoodsSpecRel> goodsSpecRelList, long goodsGuid);
}
}