@kengic/uni 0.6.3-beta.30 → 0.6.3-beta.31

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.
Files changed (2) hide show
  1. package/dist/util/kg.ts +3 -7
  2. package/package.json +1 -1
package/dist/util/kg.ts CHANGED
@@ -268,21 +268,17 @@ export class Kg {
268
268
  }
269
269
 
270
270
  if (_leftStringValue) {
271
- _stringValue += `(${_key} >= '${_leftStringValue}')`;
271
+ _stringValue += ` AND (${_key} >= '${_leftStringValue}')`;
272
272
  }
273
273
 
274
274
  if (_rightStringValue) {
275
- if (_stringValue) {
276
- _stringValue += ' AND ';
277
- }
278
-
279
- _stringValue += `(${_key} < '${_rightStringValue}')`;
275
+ _stringValue += ` AND (${_key} < '${_rightStringValue}')`;
280
276
  }
281
277
  break;
282
278
  }
283
279
  }
284
280
 
285
- _paramsForQueryWhereSql[key] = ` AND ${_stringValue}`;
281
+ _paramsForQueryWhereSql[key] = _stringValue;
286
282
  break;
287
283
  }
288
284
  //endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/uni",
3
- "version": "0.6.3-beta.30",
3
+ "version": "0.6.3-beta.31",
4
4
  "scripts": {
5
5
  "build": "npm run use-node && rimraf dist && vue-tsc && vite build",
6
6
  "------ -------------------------------------------": "",