rez_core 4.0.42 → 4.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -269,21 +269,25 @@ if (entity_type === 'TEMP' || entity_type === 'TEM') {
|
|
|
269
269
|
baseWhere.push({
|
|
270
270
|
query: `
|
|
271
271
|
(
|
|
272
|
-
(e.level_type = 'SCH' AND e.level_id =
|
|
272
|
+
(e.level_type = 'SCH' AND e.level_id = :sch_level_id)
|
|
273
273
|
OR
|
|
274
274
|
(
|
|
275
275
|
e.level_type = 'ORG'
|
|
276
|
-
AND e.level_id =
|
|
276
|
+
AND e.level_id = :org_level_id
|
|
277
277
|
AND e.code NOT IN (
|
|
278
278
|
SELECT sub.code
|
|
279
|
-
FROM
|
|
280
|
-
WHERE sub.level_type = 'SCH' AND sub.level_id =
|
|
279
|
+
FROM frm_wf_comm_template AS sub
|
|
280
|
+
WHERE sub.level_type = 'SCH' AND sub.level_id = :sch_level_id
|
|
281
281
|
)
|
|
282
282
|
)
|
|
283
283
|
)
|
|
284
284
|
`,
|
|
285
|
-
params:
|
|
285
|
+
params: {
|
|
286
|
+
sch_level_id: 56,
|
|
287
|
+
org_level_id: 1
|
|
288
|
+
}
|
|
286
289
|
});
|
|
290
|
+
|
|
287
291
|
}
|
|
288
292
|
}
|
|
289
293
|
|