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.
|
|
|
|
using DS.Module.Core;
|
|
|
|
|
using DS.Module.DjyServiceStatus;
|
|
|
|
|
using DS.WMS.Core.TaskPlat.Dtos;
|
|
|
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.TaskPlat.Interface
|
|
|
|
|
{
|
|
|
|
|
public interface ITaskManageService
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 取消任务(可批量)
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="ids">任务主键数组</param>
|
|
|
|
|
/// <returns>返回结果</returns>
|
|
|
|
|
Task<DataResult<TaskManageOrderResultDto>> CancelTask(long[] ids);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取登陆人相关的任务统计信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="isReCalc">是否强制计算</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<DataResult<TaskUserStatResultInfo>> GetCurrentTotalStat(bool isReCalc);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 任务台台账列表查询
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task<DataResult<List<dynamic>>> GetPageAsync(PageRequest<QueryTaskManageDto> querySearch);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建任务
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="info">任务详情</param>
|
|
|
|
|
/// <param name="file"></param>
|
|
|
|
|
/// <param name="modifyFile"></param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<DataResult> InitTaskJob(TaskManageOrderMessageInfo info, IFormFile file = null, IFormFile modifyFile = null);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设置任务状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="bsno">业务主键</param>
|
|
|
|
|
/// <param name="taskBaseTypeEnum">业务类型</param>
|
|
|
|
|
/// <param name="taskStatusEnum">业务状态</param>
|
|
|
|
|
/// <param name="statusTime">状态发生时间</param>
|
|
|
|
|
Task<DataResult> SetTaskStatus(long bsno, TaskBaseTypeEnum taskBaseTypeEnum, TaskStatusEnum taskStatusEnum, DateTime? statusTime);
|
|
|
|
|
}
|
|
|
|
|
}
|