rez_core 3.1.173 → 3.1.174
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
|
@@ -388,10 +388,9 @@ export class WrapperService {
|
|
|
388
388
|
let templates = await this.datasource.query(
|
|
389
389
|
`SELECT id FROM cr_wf_comm_template
|
|
390
390
|
WHERE code = ?
|
|
391
|
-
|
|
392
|
-
AND level_type = ?
|
|
391
|
+
ORDER BY 1 DESC
|
|
393
392
|
LIMIT 1`,
|
|
394
|
-
[payload.template_code
|
|
393
|
+
[payload.template_code],
|
|
395
394
|
);
|
|
396
395
|
|
|
397
396
|
if (templates && templates.length > 0) {
|