diff --git a/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/TaskService.cs b/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/TaskService.cs
index cfd8086a..58aa0aab 100644
--- a/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/TaskService.cs
+++ b/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/TaskService.cs
@@ -223,8 +223,8 @@ namespace DS.WMS.Core.Op.Method.TaskInteraction
info.Main.RecvUserInfoList = await FillInUserInfoAsync(request.RecvUserIdList);
}
- if (info.Main.RecvUserInfoList == null || info.Main.RecvUserInfoList.Count == 0)
- return DataResult.FailedWithDesc(nameof(MultiLanguageConst.TaskReceiverNotFound));
+ //if (info.Main.RecvUserInfoList == null || info.Main.RecvUserInfoList.Count == 0)
+ // return DataResult.FailedWithDesc(nameof(MultiLanguageConst.TaskReceiverNotFound));
//仅为业务订单任务自动填充任务标题/描述
if (info.Main.TaskTitle.IsNullOrEmpty() && IsOrderType(request.TaskType))
@@ -867,6 +867,9 @@ namespace DS.WMS.Core.Op.Method.TaskInteraction
///
protected internal ISugarQueryable GetQuery(long id, BusinessType? businessType, params TaskBaseTypeEnum[] taskTypes)
{
+ var a = TenantDb.Queryable().Where(x => x.BusinessId == id)
+ .WhereIF(businessType.HasValue, x => x.BusinessType == businessType)
+ .WhereIF(taskTypes != null && taskTypes.Length > 0, x => taskTypes.Contains(x.TaskType)).ToSqlString();
return TenantDb.Queryable().Where(x => x.BusinessId == id)
.WhereIF(businessType.HasValue, x => x.BusinessType == businessType)
.WhereIF(taskTypes != null && taskTypes.Length > 0, x => taskTypes.Contains(x.TaskType));