@ningboyz/apis 1.7.127 → 1.7.129

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/apis",
3
- "version": "1.7.127",
3
+ "version": "1.7.129",
4
4
  "private": false,
5
5
  "description": "宁波甬政请求库",
6
6
  "author": "nbyt-syq",
@@ -17,7 +17,7 @@
17
17
  "registry": "https://registry.npmjs.org/"
18
18
  },
19
19
  "dependencies": {
20
- "@ningboyz/types": "1.7.127",
20
+ "@ningboyz/types": "1.7.129",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -956,6 +956,11 @@ class UserRequest {
956
956
  withPageSelectdb(querys: ICoreUserWithPageSelectdbQuerys, params: object) {
957
957
  return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/withpage/selectdb", querys, params);
958
958
  }
959
+
960
+ //追加查询(分页)
961
+ withPageSelectdbAppend(querys: ICoreUserWithPageSelectdbQuerys, params: object) {
962
+ return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/withpage/selectd2", querys, params);
963
+ }
959
964
  }
960
965
 
961
966
  export default UserRequest;
@@ -1,4 +1,4 @@
1
- import type { TCore, TPzpt } from "@ningboyz/types";
1
+ import type { TCore, TPzpt, TResp } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
3
  import {
4
4
  ICnfgBaseQuerys,
@@ -8,7 +8,9 @@ import {
8
8
  IPzptCnfgMoreSaveitdbQuerys,
9
9
  IPzptCnfgMoreSelectdbQuerys,
10
10
  IPzptCnfgSelectdbQuerys,
11
- IPzptCnfgUpdatedbQuerys
11
+ IPzptCnfgUpdatedbQuerys,
12
+ IPzptTcnfgCnfgpathReadFrom,
13
+ IPzptTcnfgCnfgpathUploaddb
12
14
  } from "./types";
13
15
 
14
16
  class CnfgRequest {
@@ -88,6 +90,26 @@ class CnfgRequest {
88
90
  exportDB(querys: IPzptCnfgExportDBQuerys) {
89
91
  return this.httpRequest.get<TCore.IPathResponse[]>("/gapi/pzpt/tcnfg/exportdb", querys);
90
92
  }
93
+
94
+ /**
95
+ * 上传国标配置路径
96
+ * @param querys
97
+ * @param formData
98
+ * @returns
99
+ */
100
+ cnfgPathUploaddb(querys: IPzptTcnfgCnfgpathUploaddb, formData: FormData) {
101
+ return this.httpRequest.postFile<string>("/gapi/pzpt/tcnfg/cnfgpath/uploaddb", querys, formData);
102
+ }
103
+
104
+ /**
105
+ * 解析国标配置路径
106
+ * @param querys
107
+ * @param formData
108
+ * @returns
109
+ */
110
+ cnfgPathReadfrom(querys: IPzptTcnfgCnfgpathReadFrom) {
111
+ return this.httpRequest.post<TResp.IErrorResponse[]>("/gapi/pzpt/tcnfg/cnfgpath/readfrom", querys);
112
+ }
91
113
  }
92
114
 
93
115
  export default CnfgRequest;
@@ -512,3 +512,23 @@ export class TPzptCashDeletedbQuerys implements IPzptCashDeletedbQuerys {
512
512
  sourcend: number = -1;
513
513
  sourceid: number = -1;
514
514
  }
515
+
516
+ export interface IPzptTcnfgCnfgpathUploaddb {
517
+ sourcend: number;
518
+ sourceid: number;
519
+ }
520
+
521
+ export class TPzptTcnfgCnfgpathUploaddb implements IPzptTcnfgCnfgpathUploaddb {
522
+ sourcend: number = -1;
523
+ sourceid: number = -1;
524
+ }
525
+
526
+ export interface IPzptTcnfgCnfgpathReadFrom{
527
+ sourcend: number;
528
+ sourceid: number;
529
+ }
530
+
531
+ export class TPzptTcnfgCnfgpathReadFrom implements IPzptTcnfgCnfgpathReadFrom{
532
+ sourcend: number = -1;
533
+ sourceid: number = -1;
534
+ }
@@ -12,6 +12,7 @@ export interface ITablMainSelectdbQuerys {
12
12
  deptmain: number;
13
13
  useronly: number;
14
14
  unitmain: number;
15
+ usermain: number;
15
16
  }
16
17
 
17
18
  export class TTablMainSelectdbQuerys implements ITablMainSelectdbQuerys {
@@ -27,6 +28,7 @@ export class TTablMainSelectdbQuerys implements ITablMainSelectdbQuerys {
27
28
  deptmain: number = -1;
28
29
  useronly: number = -1;
29
30
  unitmain: number = -1;
31
+ usermain: number = -1;
30
32
  }
31
33
 
32
34
  export interface ITablMainInsertdbQuerys {