@pxp-nd/flow 1.0.81 → 1.0.82
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/dist/controllers/Flow.js +2 -2
- package/package.json +1 -1
package/dist/controllers/Flow.js
CHANGED
|
@@ -382,7 +382,7 @@ let Flow = class Flow extends core_1.Controller {
|
|
|
382
382
|
.getOne();
|
|
383
383
|
let cond = " and 0=0";
|
|
384
384
|
if (!totalNodes) {
|
|
385
|
-
cond = " and (at.name in ( 'EVENT'
|
|
385
|
+
cond = " and (at.name in ( 'EVENT')) ";
|
|
386
386
|
}
|
|
387
387
|
else {
|
|
388
388
|
const oName = (_a = totalNodes === null || totalNodes === void 0 ? void 0 : totalNodes.action) === null || _a === void 0 ? void 0 : _a.originName;
|
|
@@ -394,7 +394,7 @@ let Flow = class Flow extends core_1.Controller {
|
|
|
394
394
|
where a.action_id = ${(_c = totalNodes === null || totalNodes === void 0 ? void 0 : totalNodes.action) === null || _c === void 0 ? void 0 : _c.actionId}
|
|
395
395
|
`);
|
|
396
396
|
if (actionTypePage[0].name == 'PAGE') {
|
|
397
|
-
cond = `and
|
|
397
|
+
cond = `and a.code = 'BRIDGE' and at.name='PAGE'`;
|
|
398
398
|
}
|
|
399
399
|
else {
|
|
400
400
|
cond = `and (at.name not in ('EVENT','PAGE')) and (a.originName is null or a.originName = '${oName}') `;
|