|
@@ -213,6 +213,7 @@ public class OrderDomainService : IOrderDomainService, IScopeDependency
|
|
|
throw UserFriendlyException.SameMessage("无效工单编号");
|
|
|
var order = await _orderRepository.Queryable()
|
|
|
.Includes(d => d.Hotspot)
|
|
|
+ .Includes(d => d.Employee)
|
|
|
.FirstAsync(d => d.Id == orderId);
|
|
|
|
|
|
if (order == null)
|
|
@@ -226,6 +227,7 @@ public class OrderDomainService : IOrderDomainService, IScopeDependency
|
|
|
throw UserFriendlyException.SameMessage("无效流程编号");
|
|
|
var order = await _orderRepository.Queryable()
|
|
|
.Includes(d => d.Hotspot)
|
|
|
+ .Includes(d => d.Employee)
|
|
|
.FirstAsync(d => d.WorkflowId == workflowId);
|
|
|
if (order == null)
|
|
|
throw new UserFriendlyException($"无效流程编号, workflowId: {workflowId}", "无效流程编号");
|