@xuda.io/xuda-worker-bundle-min 1.3.797 → 1.3.799
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 +21 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2073,7 +2073,25 @@ func.datasource.execute = async function (
|
|
|
2073
2073
|
ret = (
|
|
2074
2074
|
await func.expression.get(
|
|
2075
2075
|
SESSION_ID,
|
|
2076
|
-
|
|
2076
|
+
prog_obj.progDataSource.dataSourceLoopExp,
|
|
2077
|
+
dataSourceSession,
|
|
2078
|
+
"view_loop",
|
|
2079
|
+
args.rowIdP
|
|
2080
|
+
)
|
|
2081
|
+
).result;
|
|
2082
|
+
}
|
|
2083
|
+
return ret;
|
|
2084
|
+
};
|
|
2085
|
+
const get_skip = async function () {
|
|
2086
|
+
var ret = 0;
|
|
2087
|
+
|
|
2088
|
+
ret = _ds.progDataSource?.dataSourceSkip;
|
|
2089
|
+
|
|
2090
|
+
if (prog_obj.progDataSource?.dataSourceSkipExp) {
|
|
2091
|
+
ret = (
|
|
2092
|
+
await func.expression.get(
|
|
2093
|
+
SESSION_ID,
|
|
2094
|
+
prog_obj.progDataSource.dataSourceSkipExp,
|
|
2077
2095
|
dataSourceSession,
|
|
2078
2096
|
"view_loop",
|
|
2079
2097
|
args.rowIdP
|
|
@@ -2262,7 +2280,7 @@ func.datasource.execute = async function (
|
|
|
2262
2280
|
_ds.v,
|
|
2263
2281
|
_ds
|
|
2264
2282
|
);
|
|
2265
|
-
|
|
2283
|
+
debugger;
|
|
2266
2284
|
_ds.v.raw_data = await func.db.get_query(
|
|
2267
2285
|
SESSION_ID,
|
|
2268
2286
|
_ds._dataSourceTableId,
|
|
@@ -2271,7 +2289,7 @@ func.datasource.execute = async function (
|
|
|
2271
2289
|
_ds.viewSourceDesc,
|
|
2272
2290
|
"datasource table",
|
|
2273
2291
|
prog_obj.progDataSource.dataSourceReduce,
|
|
2274
|
-
|
|
2292
|
+
await get_skip(),
|
|
2275
2293
|
(await get_limit()) || 99999999,
|
|
2276
2294
|
null,
|
|
2277
2295
|
null,
|