@ningboyz/apis 1.2.37 → 1.2.39
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 +2 -2
- package/packages/gams/k8km.ts +11 -1
- package/packages/gams/types.ts +8 -0
- package/packages/pzpt/cnfg.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.39",
|
|
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.2.
|
|
20
|
+
"@ningboyz/types": "1.2.39",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/gams/k8km.ts
CHANGED
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
IGamsTk8kmUpdatedbQuerys,
|
|
10
10
|
IGamsTtypeQueuesdbQuerys,
|
|
11
11
|
IGamsTk8kmAppendhdQuerys,
|
|
12
|
-
IGamsTk8kmDel4dialQuerys
|
|
12
|
+
IGamsTk8kmDel4dialQuerys,
|
|
13
|
+
IGamsTk8kmImportdbQuerys
|
|
13
14
|
} from "./types";
|
|
14
15
|
|
|
15
16
|
class TK8kmRequest {
|
|
@@ -109,6 +110,15 @@ class TK8kmRequest {
|
|
|
109
110
|
del4dial(querys: IGamsTk8kmDel4dialQuerys, params: object) {
|
|
110
111
|
return this.httpRequest.post<TGams.IGamsK8kmResponse[]>("gams/tdial/k8kmkmid/del4dial", querys, params);
|
|
111
112
|
}
|
|
113
|
+
/**
|
|
114
|
+
* 导入标准
|
|
115
|
+
* @param querys
|
|
116
|
+
* @param params
|
|
117
|
+
* @returns
|
|
118
|
+
*/
|
|
119
|
+
importdb(querys: IGamsTk8kmImportdbQuerys, params: object) {
|
|
120
|
+
return this.httpRequest.post<TGams.IGamsK8kmResponse[]>("gams/tk8km/uploaddb", querys, params);
|
|
121
|
+
}
|
|
112
122
|
}
|
|
113
123
|
|
|
114
124
|
export default TK8kmRequest;
|
package/packages/gams/types.ts
CHANGED
|
@@ -249,3 +249,11 @@ export class TGamsTk8kmDel4dialQuerys implements IGamsTk8kmDel4dialQuerys {
|
|
|
249
249
|
sourceid: number = -1;
|
|
250
250
|
k8kmkmid: number = -1;
|
|
251
251
|
}
|
|
252
|
+
export interface IGamsTk8kmImportdbQuerys {
|
|
253
|
+
sourcend: number;
|
|
254
|
+
sourceid: number;
|
|
255
|
+
}
|
|
256
|
+
export class TGamsTk8kmImportdbQuerys implements IGamsTk8kmImportdbQuerys {
|
|
257
|
+
sourcend: number = -1;
|
|
258
|
+
sourceid: number = -1;
|
|
259
|
+
}
|
package/packages/pzpt/cnfg.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TCore, TPzpt } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IPzptCnfgDetaildbQuerys, IPzptCnfgExportDBQuerys, IPzptCnfgExportG1Querys, IPzptCnfgMoreSaveitdbQuerys, IPzptCnfgMoreSelectdbQuerys, IPzptCnfgSelectdbQuerys, IPzptCnfgUpdatedbQuerys } from "./types";
|
|
3
|
+
import { ICnfgBaseQuerys, IPzptCnfgDetaildbQuerys, IPzptCnfgExportDBQuerys, IPzptCnfgExportG1Querys, IPzptCnfgMoreSaveitdbQuerys, IPzptCnfgMoreSelectdbQuerys, IPzptCnfgSelectdbQuerys, IPzptCnfgUpdatedbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class CnfgRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -13,8 +13,8 @@ class CnfgRequest {
|
|
|
13
13
|
* @param params
|
|
14
14
|
* @returns
|
|
15
15
|
*/
|
|
16
|
-
insertdb(params: object) {
|
|
17
|
-
return this.httpRequest.post<TPzpt.IPzptCnfgResponse[]>("/gapi/pzpt/tcnfg/insertdb",
|
|
16
|
+
insertdb(querys: ICnfgBaseQuerys,params: object) {
|
|
17
|
+
return this.httpRequest.post<TPzpt.IPzptCnfgResponse[]>("/gapi/pzpt/tcnfg/insertdb", querys, params);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/**
|