@xuda.io/xuda-worker-bundle-min 1.3.1072 → 1.3.1074
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/index.js +6 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -5016,10 +5016,12 @@ func.datasource.get_progFields = async function (SESSION_ID, dsSessionP) {
|
|
|
5016
5016
|
};
|
|
5017
5017
|
func.datasource.update_changes_for_out_parameter = async function (
|
|
5018
5018
|
SESSION_ID,
|
|
5019
|
-
dsSessionP
|
|
5019
|
+
dsSessionP,
|
|
5020
|
+
calling_dsP
|
|
5020
5021
|
) {
|
|
5021
5022
|
let _session = SESSION_OBJ[SESSION_ID];
|
|
5022
5023
|
let _ds = _session.DS_GLB[dsSessionP];
|
|
5024
|
+
const _calling_ds = _session.DS_GLB[calling_dsP];
|
|
5023
5025
|
//
|
|
5024
5026
|
if (_ds.PARAM_OUT_INFO) {
|
|
5025
5027
|
let data = {};
|
|
@@ -5035,7 +5037,7 @@ func.datasource.update_changes_for_out_parameter = async function (
|
|
|
5035
5037
|
}
|
|
5036
5038
|
if (!_.isEmpty(data)) {
|
|
5037
5039
|
let datasource_changes = {
|
|
5038
|
-
[
|
|
5040
|
+
[calling_dsP]: { [_calling_ds.currentRecordId]: data },
|
|
5039
5041
|
};
|
|
5040
5042
|
await func.datasource.update(SESSION_ID, datasource_changes);
|
|
5041
5043
|
}
|
|
@@ -8556,7 +8558,8 @@ func.events.execute = async function (
|
|
|
8556
8558
|
if (parameters && !_.isEmpty(parameters)) {
|
|
8557
8559
|
await func.datasource.update_changes_for_out_parameter(
|
|
8558
8560
|
SESSION_ID,
|
|
8559
|
-
_ds_new.dsSession
|
|
8561
|
+
_ds_new.dsSession,
|
|
8562
|
+
_ds.dsSession
|
|
8560
8563
|
);
|
|
8561
8564
|
}
|
|
8562
8565
|
// if (parameters && !_.isEmpty(parameters) && _ds_new.PARAM_OUT_INFO) {
|