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.
86 lines
2.5 KiB
C#
86 lines
2.5 KiB
C#
using DS.Module.Core;
|
|
using DS.Module.Core.Data;
|
|
using DS.WMS.Core.Fee.Dtos;
|
|
using DS.WMS.Core.Flow.Dtos;
|
|
using DS.WMS.Core.Info.Dtos;
|
|
using DS.WMS.Core.Info.Entity;
|
|
|
|
namespace DS.WMS.Core.Info.Interface
|
|
{
|
|
/// <summary>
|
|
/// 往来单位干系人
|
|
/// </summary>
|
|
public interface IClientStakeholderService
|
|
{
|
|
/// <summary>
|
|
/// 提交审核
|
|
/// </summary>
|
|
/// <param name="idModel"></param>
|
|
/// <returns></returns>
|
|
Task<DataResult> SubmitAuditAsync(IdModel idModel);
|
|
|
|
/// <summary>
|
|
/// 执行审核
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
Task<DataResult> AuditAsync(AuditRequest request);
|
|
|
|
/// <summary>
|
|
/// 撤销审核
|
|
/// </summary>
|
|
/// <param name="idModel"></param>
|
|
/// <returns></returns>
|
|
Task<DataResult> WithdrawAsync(IdModel idModel);
|
|
|
|
/// <summary>
|
|
/// 审核完成回调
|
|
/// </summary>
|
|
/// <param name="callback">回调信息</param>
|
|
/// <returns></returns>
|
|
Task<DataResult> AuditCallbackAsync(FlowCallback callback);
|
|
|
|
/// <summary>
|
|
/// 导入
|
|
/// </summary>
|
|
/// <param name="list"></param>
|
|
/// <returns></returns>
|
|
Task<DataResult> ImportAsync(List<InfoClientStakeholderModel> list);
|
|
|
|
/// <summary>
|
|
/// 列表
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
Task<DataResult<List<InfoClientStakeholder>>> GetListAsync(PageRequest request);
|
|
|
|
/// <summary>
|
|
/// 获取客户干系人
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
Task<DataResult<InfoClientStakeholder>> GetAsync(long id);
|
|
|
|
/// <summary>
|
|
/// 创建/更新客户干系人
|
|
/// </summary>
|
|
/// <param name="stakeholders">干系人</param>
|
|
/// <returns></returns>
|
|
Task<DataResult> EditAsync(params InfoClientStakeholder[] stakeholders);
|
|
|
|
/// <summary>
|
|
/// 创建客户干系人并提交审核
|
|
/// </summary>
|
|
/// <param name="stakeholder">干系人</param>
|
|
/// <returns></returns>
|
|
Task<DataResult> AddSubmitAsync(InfoClientStakeholder stakeholder);
|
|
|
|
/// <summary>
|
|
/// 删除干系人
|
|
/// </summary>
|
|
/// <param name="ids"></param>
|
|
/// <returns></returns>
|
|
Task<DataResult> DeleteAsync(params long[] ids);
|
|
}
|
|
}
|