Skip to content

Commit fb77d2b

Browse files
committed
Exclude UI Prototypes from TCO from Sep 1st,2018
1 parent a69c31b commit fb77d2b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tco_setup/tco19_eligible_contests.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ INNER JOIN project_info pi14 ON p.project_id = pi14.project_id and pi14.project_
1717
LEFT OUTER JOIN project_info pi82 ON pi82.project_id = p.project_id and pi82.project_info_type_id = 82
1818
LEFT OUTER JOIN project_info pi1 ON pi1.project_id = p.project_id and pi1.project_info_type_id = 1
1919
WHERE p.project_status_id = 1
20-
and p.project_category_id in (7,14,19,39) -- include UI Prototype track as well
20+
and p.project_category_id in (7,14,39) -- exclude UI Prototype track as well
2121
and p.project_id not in (select project_id from contest_project_xref where contest_id in (673, 583)) -- make sure we exclude from tco
2222
and p.project_id not in (select ce.contest_id from contest_eligibility ce)
2323
and NVL(pi82.value, 0) = 0 -- No TCO if these are tasks
@@ -39,7 +39,7 @@ INNER JOIN project_info pi14 ON p.project_id = pi14.project_id and pi14.project_
3939
LEFT OUTER JOIN project_info pi82 ON pi82.project_id = p.project_id and pi82.project_info_type_id = 82
4040
LEFT OUTER JOIN project_info pi1 ON pi1.project_id = p.project_id and pi1.project_info_type_id = 1
4141
WHERE p.project_status_id = 1
42-
and p.project_category_id in (7,14,19,39)
42+
and p.project_category_id in (7,14,39) -- exclude UI Prototype track as well
4343
and p.project_id not in (select project_id from contest_project_xref where contest_id in (674, 583)) -- make sure we exclude from tco
4444
and p.project_id not in (select ce.contest_id from contest_eligibility ce)
4545
and NVL(pi82.value, 0) = 0 -- No TCO if these are tasks
@@ -62,7 +62,7 @@ INNER JOIN project_info pi14 ON p.project_id = pi14.project_id and pi14.project_
6262
LEFT OUTER JOIN project_info pi82 ON pi82.project_id = p.project_id and pi82.project_info_type_id = 82
6363
LEFT OUTER JOIN project_info pi1 ON pi1.project_id = p.project_id and pi1.project_info_type_id = 1
6464
WHERE p.project_status_id = 1
65-
and p.project_category_id in (7,14,19, 39) -- include UI Prototype track as well
65+
and p.project_category_id in (7,14,39) -- exclude UI Prototype track as well
6666
and p.project_id not in (select project_id from contest_project_xref where contest_id in (675, 583)) -- make sure we exclude from tco
6767
and p.project_id not in (select ce.contest_id from contest_eligibility ce)
6868
and NVL(pi82.value, 0) = 0 -- No TCO if these are tasks
@@ -84,7 +84,7 @@ INNER JOIN project_info pi14 ON p.project_id = pi14.project_id and pi14.project_
8484
LEFT OUTER JOIN project_info pi82 ON pi82.project_id = p.project_id and pi82.project_info_type_id = 82
8585
LEFT OUTER JOIN project_info pi1 ON pi1.project_id = p.project_id and pi1.project_info_type_id = 1
8686
WHERE p.project_status_id = 1
87-
and p.project_category_id in (7,14,19, 39) -- include UI Prototype track as well
87+
and p.project_category_id in (7,14,39) -- exclude UI Prototype track as well
8888
and p.project_id not in (select project_id from contest_project_xref where contest_id in (676, 583)) -- make sure we exclude from tco
8989
and p.project_id not in (select ce.contest_id from contest_eligibility ce)
9090
and NVL(pi82.value, 0) = 0 -- No TCO if these are tasks

0 commit comments

Comments
 (0)