This commit is contained in:
parent
350e4b4c53
commit
a6e6f435f7
|
@ -50,7 +50,7 @@ BEGIN
|
||||||
AND c.isActive
|
AND c.isActive
|
||||||
AND ct.code = 'normal'
|
AND ct.code = 'normal'
|
||||||
AND bt.code <> 'worker'
|
AND bt.code <> 'worker'
|
||||||
AND d.id = vDepartmentFk
|
AND (d.id = vDepartmentFk OR NOT vDepartmentFk)
|
||||||
GROUP BY c.id;
|
GROUP BY c.id;
|
||||||
|
|
||||||
DROP TEMPORARY TABLE tmp.zoneNodes;
|
DROP TEMPORARY TABLE tmp.zoneNodes;
|
||||||
|
|
Loading…
Reference in New Issue