mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-05 23:32:12 +00:00
style(uplift): fix comment indentation in queue list query
This commit is contained in:
parent
468522c3f7
commit
9388e7a987
1 changed files with 7 additions and 7 deletions
|
|
@ -25,13 +25,13 @@ namespace SeaHaven.DataServices.Implementation
|
||||||
from v in vendors.DefaultIfEmpty()
|
from v in vendors.DefaultIfEmpty()
|
||||||
join ev in _context.VendorCompletionDocuments on u.EvidenceDocumentId equals ev.Id into evidences
|
join ev in _context.VendorCompletionDocuments on u.EvidenceDocumentId equals ev.Id into evidences
|
||||||
from ev in evidences.DefaultIfEmpty()
|
from ev in evidences.DefaultIfEmpty()
|
||||||
// SH-207: resolve the work order through the same primary-plus-linked
|
// SH-207: resolve the work order through the same primary-plus-linked
|
||||||
// convention the sibling reads use (GetWorkOrderIdForUpliftAsync,
|
// convention the sibling reads use (GetWorkOrderIdForUpliftAsync,
|
||||||
// GetApprovedExposureForWorkOrdersAsync). A dispatch whose work order is
|
// GetApprovedExposureForWorkOrdersAsync). A dispatch whose work order is
|
||||||
// linked only through DispatchWorkOrders still surfaces its work-order id,
|
// linked only through DispatchWorkOrders still surfaces its work-order id,
|
||||||
// flattened WO context, the closed flag, and approved exposure. The
|
// flattened WO context, the closed flag, and approved exposure. The
|
||||||
// effective id feeds a single work-order lookup so every field resolves
|
// effective id feeds a single work-order lookup so every field resolves
|
||||||
// from one row.
|
// from one row.
|
||||||
let effectiveWorkOrderId = d.WorkOrderId
|
let effectiveWorkOrderId = d.WorkOrderId
|
||||||
?? d.DispatchWorkOrders!.Select(link => (int?)link.WorkOrderId).FirstOrDefault()
|
?? d.DispatchWorkOrders!.Select(link => (int?)link.WorkOrderId).FirstOrDefault()
|
||||||
let workOrder = _context.workOrders
|
let workOrder = _context.workOrders
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue