|
|
|
@ -19,49 +19,42 @@ namespace DS.WMS.Core.Op.Interface
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="info">服务流程详情</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<DataResult<long>> Save(ServiceWorkFlowBaseDto info);
|
|
|
|
|
Task<DataResult<string>> Save(ServiceWorkFlowBaseDto info);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 保存并启用
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="info">服务流程详情</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<DataResult<long>> SaveAndEnable(ServiceWorkFlowBaseDto info);
|
|
|
|
|
Task<DataResult<string>> SaveAndEnable(ServiceWorkFlowBaseDto info);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 启用
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="pkIds">服务流程主键数组</param>
|
|
|
|
|
/// <param name="ids">服务流程主键数组</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<DataResult<string>> SetEnable(string[] pkIds);
|
|
|
|
|
Task<DataResult<string>> SetEnable(string[] ids);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 取消启用
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="pkIds">服务流程主键数组</param>
|
|
|
|
|
/// <param name="ids">服务流程主键数组</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<DataResult<string>> SetUnEnable(string[] pkIds);
|
|
|
|
|
Task<DataResult<string>> SetUnEnable(string[] ids);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 删除
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="pkIds">服务流程主键数组</param>
|
|
|
|
|
/// <param name="ids">服务流程主键数组</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<DataResult<string>> Delete(string[] pkIds);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 复制
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="pkId">服务流程主键</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<DataResult<long>> Copy(string pkId);
|
|
|
|
|
Task<DataResult<string>> Delete(string[] ids);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取服务流程详情
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="pkId">服务流程主键</param>
|
|
|
|
|
/// <param name="id">服务流程主键</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<DataResult<ServiceWorkFlowBaseShowDto>> GetInfo(string pkId);
|
|
|
|
|
Task<DataResult<ServiceWorkFlowBaseShowDto>> GetInfo(string id);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 检索服务流程列表
|
|
|
|
@ -74,32 +67,32 @@ namespace DS.WMS.Core.Op.Interface
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 服务流程台账查询
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="QuerySearch">服务流程台账查询请求</param>
|
|
|
|
|
/// <param name="querySearch">服务流程台账查询请求</param>
|
|
|
|
|
/// <returns>返回结果</returns>
|
|
|
|
|
Task<SqlSugarPagedList<ServiceWorkFlowBasePageDto>> GetPageAsync(QueryServiceWorkFlowBaseDto QuerySearch);
|
|
|
|
|
Task<DataResult<List<ServiceWorkFlowBasePageDto>>> GetPageAsync(PageRequest querySearch);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发布服务流程
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="pkIds">服务流程主键数组</param>
|
|
|
|
|
/// <param name="ids">服务流程主键数组</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<DataResult<string>> PublishRelease(string[] pkIds);
|
|
|
|
|
Task<DataResult<string>> PublishRelease(string[] ids);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取展示服务流程时间轴列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="pkId">服务流程主键</param>
|
|
|
|
|
/// <param name="id">服务流程主键</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<DataResult<ServiceWorkFlowRunDto>> GetShowTimeLine(string pkId);
|
|
|
|
|
Task<DataResult<ServiceWorkFlowRunDto>> GetShowTimeLine(string id);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 保存服务流程活动
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="info">保存服务流程活动详情</param>
|
|
|
|
|
/// <returns>返回回执</returns>
|
|
|
|
|
Task<DataResult<long>> SaveWFActivities(ServiceWorkFlowActivitiesDto info);
|
|
|
|
|
Task<DataResult<string>> SaveWFActivities(ServiceWorkFlowActivitiesDto info);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 通过服务活动主键获取所有相关服务流程列表
|
|
|
|
|