@ibiz-template/runtime 0.7.41-alpha.151 → 0.7.41-alpha.152
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/index.esm.js
CHANGED
|
@@ -76382,14 +76382,25 @@ var AIUtilService = class {
|
|
|
76382
76382
|
return !!message;
|
|
76383
76383
|
});
|
|
76384
76384
|
const tempContext = context.clone();
|
|
76385
|
-
|
|
76386
|
-
|
|
76387
|
-
|
|
76388
|
-
|
|
76385
|
+
if (messageIDs.length > 1) {
|
|
76386
|
+
tempContext[this.messageAppEntityName.toLowerCase()] = messageIDs.join(";");
|
|
76387
|
+
const batchData = messageIDs.map((id) => {
|
|
76388
|
+
return { id };
|
|
76389
|
+
});
|
|
76390
|
+
await messageService.exec(
|
|
76391
|
+
deleteMessageAppDEActionId,
|
|
76392
|
+
tempContext,
|
|
76393
|
+
batchData,
|
|
76394
|
+
{
|
|
76389
76395
|
...params
|
|
76390
|
-
}
|
|
76391
|
-
|
|
76392
|
-
)
|
|
76396
|
+
}
|
|
76397
|
+
);
|
|
76398
|
+
} else if (messageIDs[0]) {
|
|
76399
|
+
tempContext[this.messageAppEntityName.toLowerCase()] = messageIDs[0];
|
|
76400
|
+
await messageService.exec(deleteMessageAppDEActionId, tempContext, {
|
|
76401
|
+
...params
|
|
76402
|
+
});
|
|
76403
|
+
}
|
|
76393
76404
|
return true;
|
|
76394
76405
|
}
|
|
76395
76406
|
/**
|