@kengic/vue 0.13.2 → 0.13.3

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.
@@ -2,12 +2,14 @@ import { IRequestConfig, IRequestOptions } from '../../../../services';
2
2
  import * as DEF from '../../../def';
3
3
  /** 请求参数. */
4
4
  export declare class ListVOQuery {
5
- /** 是否活动 */
5
+ /** 是否可用 */
6
6
  activeFlg?: number | null;
7
7
  /** 地址编号 */
8
8
  adrId?: string | null;
9
- /** adrnam */
9
+ /** 地址名 */
10
10
  adrnam?: string | null;
11
+ /** 公司代码 */
12
+ comCod?: string | null;
11
13
  /** 默认仓库 */
12
14
  defWhFlg?: number | null;
13
15
  /** 主键. */
@@ -669,12 +669,14 @@ export declare class VarVariableInput {
669
669
  }
670
670
  /** 仓库(Warehouse). */
671
671
  export declare class WhDTO {
672
- /** 是否活动 */
672
+ /** 是否可用 */
673
673
  activeFlg?: number | null;
674
674
  /** 地址编号 */
675
675
  adrId?: string | null;
676
- /** adrnam */
676
+ /** 地址名 */
677
677
  adrnam?: string | null;
678
+ /** 公司代码 */
679
+ comCod?: string | null;
678
680
  /** 默认仓库 */
679
681
  defWhFlg?: number | null;
680
682
  /** 主键. */
@@ -223,8 +223,12 @@ export declare enum KG_DYNAMIC_QUERY_OPERATOR {
223
223
  export declare enum KG_HTTP_HEADERS {
224
224
  /** 是否启用高级查询. */
225
225
  KG_DYNAMIC_QUERY = "Kg-Dynamic-Query",
226
- /** 拼接后的查询 SQL. */
227
- KG_QUERY_SQL = "Kg-Query-Sql"
226
+ /** 拼接后的查询 SQL: WHERE + ORDER BY. */
227
+ KG_QUERY_SQL = "Kg-Query-Sql",
228
+ /** 拼接后的查询 SQL: WHERE. */
229
+ KG_QUERY_WHERE_SQL = "Kg-Query-Where-Sql",
230
+ /** 拼接后的查询 SQL: ORDER BY. */
231
+ KG_QUERY_ORDER_BY_SQL = "Kg-Query-Order-By-Sql"
228
232
  }
229
233
  /** 特殊属性:请求返回的原始响应数据 */
230
234
  export declare const __KG__RESPONSE__ = "__KG__RESPONSE__";
@@ -51,7 +51,11 @@ export declare class KgUtil {
51
51
  * @param $dayjs dayjs.
52
52
  * @return 拼接好的 SQL.
53
53
  */
54
- static getQuerySql(params: Record<string, any> | null | undefined, formID: string | null | undefined, $dayjs: typeof dayjs): string;
54
+ static getQuerySql(params: Record<string, any> | null | undefined, formID: string | null | undefined, $dayjs: typeof dayjs): {
55
+ sql: string;
56
+ whereSql: string;
57
+ orderBySql: string;
58
+ };
55
59
  /**
56
60
  * 处理请求参数: 解析字符串类型的参数值.
57
61
  * @param value 参数的原始值.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.13.2",
3
+ "version": "0.13.3",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "rimraf dist && vue-tsc && vite build --mode development",
@@ -48,7 +48,7 @@
48
48
  "vue-router": "4.1.6"
49
49
  },
50
50
  "devDependencies": {
51
- "@kengic/pont": "1.2.10",
51
+ "@kengic/pont": "1.2.11",
52
52
  "@types/lodash-es": "4.17.9",
53
53
  "@types/node": "18.18.4",
54
54
  "@types/semver": "7.5.3",