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.WMS.Core.TaskPlat.Dtos;
|
|
|
|
|
using DS.WMS.Core.TaskPlat.Entity;
|
|
|
|
|
using System.Linq.Expressions;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.TaskPlat.Interface
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 任务模块业务类的基类,封装了一些常用的方法
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface ITaskManageBaseService
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更新任务主表状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="taskIds">任务主键数组</param>
|
|
|
|
|
/// <param name="columns">需要更新状态的列</param>
|
|
|
|
|
Task SetTaskStatus(long[] taskIds, params Expression<Func<TaskBaseInfo, bool>>[] columns);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设置任务的所属人
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="taskIds">任务主键数组</param>
|
|
|
|
|
/// <param name="userInfo">人员信息列表</param>
|
|
|
|
|
Task SetTaskOwner(long[] taskIds, List<RecvUserInfo> userInfo);
|
|
|
|
|
}
|
|
|
|
|
}
|