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.

44 lines
1.2 KiB
C#

using DS.Module.Core;
using DS.Module.Core.Data;
using DS.WMS.Core.Code.Dtos;
namespace DS.WMS.Core.Code.Interface;
public interface ICodeThirdPartyService
{
/// <summary>
/// 列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
DataResult<List<CodeThirdPartyRes>> GetListByPage(PageRequest request);
/// <summary>
/// 编辑
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
DataResult EditCodeThirdParty(CodeThirdPartyReq req);
/// <summary>
/// 获取详情
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
DataResult<CodeThirdPartyRes> GetCodeThirdPartyInfo(string id);
/// <summary>
/// 获取第三方详情(优先取个人配置,如果没有默认取公司配置)
/// </summary>
/// <param name="AccountType">账号类型</param>
/// <returns>返回第三方账户详情</returns>
Task<DataResult<CodeThirdPartyRes>> GetCodeThirdPartyInfoWithCompany(string AccountType);
/// <summary>
/// 批量删除
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
public DataResult BatchDelCodeThirdParty(IdModel req);
}