|
|
|
@ -165,15 +165,15 @@ namespace DS.WMS.Core.TaskPlat.Method
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 通过业务Id设置任务状态(工作流使用)
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="bsno">业务主键</param>
|
|
|
|
|
/// <param name="taskBaseTypeEnum">业务类型</param>
|
|
|
|
|
/// <param name="bsno">主任务业务主键</param>
|
|
|
|
|
/// <param name="taskBaseTypeEnum">主任务业务类型</param>
|
|
|
|
|
/// <param name="taskStatusEnum">业务状态</param>
|
|
|
|
|
/// <param name="statusTime">状态发生时间</param>
|
|
|
|
|
/// <param name="isCheckAllChildTaskComplete">完成任务前是否检查所有子任务是否完成</param>
|
|
|
|
|
/// <param name="taskDesc">任务描述</param>
|
|
|
|
|
/// <param name="userIdList">用户Id列表,用于筛选指定用户下的任务[可选,当不为空时会设置此用户列表涉及到的相关任务的状态]</param>
|
|
|
|
|
/// <param name="childBsno">子业务主键[可选,当不为空时表示设置子任务的状态]</param>
|
|
|
|
|
/// <param name="childTaskBaseTypeEnum">子业务类型</param>
|
|
|
|
|
/// <param name="childBsno">子任务业务主键[可选,当不为空时表示设置子任务的状态]</param>
|
|
|
|
|
/// <param name="childTaskBaseTypeEnum">子任务业务类型</param>
|
|
|
|
|
public async Task<DataResult> SetTaskStatusWithBsno(long bsno, TaskBaseTypeEnum taskBaseTypeEnum, TaskStatusEnum taskStatusEnum, DateTime? statusTime, bool isCheckAllChildTaskComplete, string? taskDesc = null, List<long>? userIdList = null,
|
|
|
|
|
long? childBsno = null, TaskBaseTypeEnum? childTaskBaseTypeEnum = null)
|
|
|
|
|
{
|
|
|
|
@ -273,11 +273,11 @@ namespace DS.WMS.Core.TaskPlat.Method
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 工作流任务转交
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="bsno">业务主键</param>
|
|
|
|
|
/// <param name="taskBaseTypeEnum">业务类型</param>
|
|
|
|
|
/// <param name="bsno">主任务业务主键</param>
|
|
|
|
|
/// <param name="taskBaseTypeEnum">主任务业务类型</param>
|
|
|
|
|
/// <param name="userInfos">要转交的人员信息列表</param>
|
|
|
|
|
/// <param name="childBsno">子业务主键[可选,当不为空时表示设置子任务的状态]</param>
|
|
|
|
|
/// <param name="childTaskBaseTypeEnum">子业务类型</param>
|
|
|
|
|
/// <param name="childBsno">子任务业务主键[可选,当不为空时表示设置子任务的状态]</param>
|
|
|
|
|
/// <param name="childTaskBaseTypeEnum">子任务业务类型</param>
|
|
|
|
|
public async Task<DataResult> TransferTask(long bsno, TaskBaseTypeEnum taskBaseTypeEnum, List<RecvUserInfo> userInfos, SqlSugarScopeProvider? tenantDb = null,
|
|
|
|
|
long? childBsno = null, TaskBaseTypeEnum? childTaskBaseTypeEnum = null)
|
|
|
|
|
{
|
|
|
|
@ -385,6 +385,11 @@ namespace DS.WMS.Core.TaskPlat.Method
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 工作流设置任务对象属性
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="bsno">主任务业务主键</param>
|
|
|
|
|
/// <param name="taskBaseTypeEnum">主任务业务类型</param>
|
|
|
|
|
/// <param name="childBsno">子任务业务主键[可选,当不为空时表示设置子任务的状态]</param>
|
|
|
|
|
/// <param name="childTaskBaseTypeEnum">子任务业务类型</param>
|
|
|
|
|
/// <param name="columns">要修改的列</param>
|
|
|
|
|
public async Task<DataResult> SetTaskBaseInfoPropertyWithBsno(long bsno, TaskBaseTypeEnum taskBaseTypeEnum,
|
|
|
|
|
long? childBsno = null, TaskBaseTypeEnum? childTaskBaseTypeEnum = null,
|
|
|
|
|
params Expression<Func<TaskBaseInfo, bool>>[] columns)
|
|
|
|
|