You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.0 KiB
C#

using DS.Module.Core;
using DS.WMS.Core.Fee.Dtos;
namespace DS.WMS.Core.Fee.Interface;
/// <summary>
/// 汇率服务
/// </summary>
public interface IFeeCurrencyExchangeService
{
/// <summary>
/// 列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
DataResult<List<FeeCurrencyExchangeRes>> GetListByPage(PageRequest request);
/// <summary>
/// 编辑
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
DataResult EditFeeCurrencyExchange(FeeCurrencyExchangeReq model);
/// <summary>
/// 获取详情
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult<FeeCurrencyExchangeRes> GetFeeCurrencyExchangeInfo(string id);
/// <summary>
/// 获取两种币别之间的汇率
/// </summary>
/// <param name="exchange">币别信息</param>
/// <returns></returns>
Task<DataResult<ExchangeRate>> GetExchangeRateAsync(ExchangeRate exchange);
}