Commit bdcac8c5 authored by Bate's avatar Bate

Planning2

parent c727cb69
......@@ -325,13 +325,13 @@ class planning2 extends stdentity
AND
(
(
pl2_gap.start <= (SELECT end FROM pl2_gap WHERE id_gap = '$gap_id')
AND pl2_gap.start >= (SELECT start FROM pl2_gap WHERE id_gap = '$gap_id')
pl2_gap.start < (SELECT end FROM pl2_gap WHERE id_gap = '$gap_id')
AND pl2_gap.start > (SELECT start FROM pl2_gap WHERE id_gap = '$gap_id')
)
OR
(
pl2_gap.end >= (SELECT start FROM pl2_gap WHERE id_gap = '$gap_id')
AND pl2_gap.end <= (SELECT end FROM pl2_gap WHERE id_gap = '$gap_id')
pl2_gap.end > (SELECT start FROM pl2_gap WHERE id_gap = '$gap_id')
AND pl2_gap.end < (SELECT end FROM pl2_gap WHERE id_gap = '$gap_id')
)
OR
(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment