mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 09:47:08 +00:00
Add NTBP status information to sequences summary
This commit is contained in:
@@ -401,7 +401,8 @@ CREATE VIEW _SURVEY__TEMPLATE_.raw_lines_summary AS
|
||||
WHERE ((preplot_points.line = rl.line) AND (((preplot_points.point >= s.fsp) AND (preplot_points.point <= s.lsp)) OR ((preplot_points.point >= s.lsp) AND (preplot_points.point <= s.fsp))))) - s.num_preplots) AS missing_shots,
|
||||
s.length,
|
||||
s.azimuth,
|
||||
rl.remarks
|
||||
rl.remarks,
|
||||
rl.ntbp
|
||||
FROM (summary s
|
||||
JOIN _SURVEY__TEMPLATE_.raw_lines rl USING (sequence));
|
||||
|
||||
@@ -1146,6 +1147,7 @@ CREATE VIEW _SURVEY__TEMPLATE_.sequences_summary AS
|
||||
rls.remarks,
|
||||
fls.remarks AS remarks_final,
|
||||
CASE
|
||||
WHEN (rls.ntbp IS TRUE) THEN 'ntbp'::text
|
||||
WHEN (fls.sequence IS NULL) THEN 'raw'::text
|
||||
ELSE 'final'::text
|
||||
END AS status
|
||||
|
||||
Reference in New Issue
Block a user