28 lines
913 B
C#
28 lines
913 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using KonSoft.Admin.Dtos;
|
|
using Volo.Abp.Application.Dtos;
|
|
using Volo.Abp.Application.Services;
|
|
|
|
namespace KonSoft.Admin.IApplicationServices;
|
|
|
|
public interface IOrderAppService : IApplicationService
|
|
{
|
|
/// <summary>
|
|
/// 创建订单
|
|
/// </summary>
|
|
/// <param name="input"></param>
|
|
/// <returns></returns>
|
|
Task<OrderDto> CreateAsync(CreateOrderDto input);
|
|
|
|
Task<OrderDto> PayAsync(Guid orderId, PayOrderDto input);
|
|
Task AssignAsync(Guid orderId, Guid workerId);
|
|
Task StartServiceAsync(Guid orderId);
|
|
Task CompleteServiceAsync(Guid orderId);
|
|
Task ConfirmAsync(Guid orderId);
|
|
Task CancelAsync(Guid orderId, string reason);
|
|
Task DeleteAsync(params Guid[] ids);
|
|
Task EditAsync(OrderDto input);
|
|
Task<OrderDto> GetAsync(Guid id);
|
|
Task<PagedResultDto<OrderDto>> GetListAsync(PagedResultRequestDto input);
|
|
} |