@xuda.io/xuda-worker-bundle-min 1.3.267 → 1.3.268
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 +9 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -4002,11 +4002,15 @@ func.datasource.set_system_vars = async function (SESSION_ID, dsSessionP) {
|
|
|
4002
4002
|
// value: _.cloneDeep(_ds.data_system),
|
|
4003
4003
|
// };
|
|
4004
4004
|
// }
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
}
|
|
4005
|
+
var _ds_0 = SESSION_OBJ[SESSION_ID].DS_GLB[0];
|
|
4006
|
+
if (!_ds_0) return;
|
|
4007
|
+
|
|
4008
|
+
if (!_ds_0.data_system) {
|
|
4009
|
+
_ds_0.data_system = {};
|
|
4010
|
+
}
|
|
4011
|
+
const ts = await func.utils.get_dateTime(SESSION_ID, "SYS_DATE_VALUE");
|
|
4012
|
+
for (const val of glb.SYS_DATE_ARR) {
|
|
4013
|
+
_ds_0.data_system[val] = await func.utils.get_dateTime(SESSION_ID, val, ts);
|
|
4010
4014
|
}
|
|
4011
4015
|
};
|
|
4012
4016
|
func.datasource.get_currentRecordId = function (
|