@ningboyz/apis 1.0.136 → 1.0.138
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/pzpt/pzpzp6pz.ts +5 -5
- package/packages/pzpt/types.ts +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.138",
|
|
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.0.
|
|
20
|
+
"@ningboyz/types": "1.0.138",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TPzpt } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IPzptpzpzp6pzSelectdbQuerys } from "./types";
|
|
3
|
+
import { IPzptpzpzp6pzSelectdbQuerys, IPzptpzpzp6pzUpdatedbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class PzpzRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -20,16 +20,16 @@ class PzpzRequest {
|
|
|
20
20
|
* 新增凭证配置明细
|
|
21
21
|
* @param params
|
|
22
22
|
*/
|
|
23
|
-
insertdb(params: object) {
|
|
24
|
-
return this.httpRequest.post<TPzpt.IPzptPzpzP6pzResponse[]>("/gapi/pzpt/tpzpz/pzpzp6pz/insertdb",
|
|
23
|
+
insertdb(query: IPzptpzpzp6pzUpdatedbQuerys, params: object) {
|
|
24
|
+
return this.httpRequest.post<TPzpt.IPzptPzpzP6pzResponse[]>("/gapi/pzpt/tpzpz/pzpzp6pz/insertdb", query, params);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* 更新凭证配置明细
|
|
29
29
|
* @param data
|
|
30
30
|
*/
|
|
31
|
-
updatedb(params: object) {
|
|
32
|
-
return this.httpRequest.post<TPzpt.IPzptPzpzP6pzResponse[]>("/gapi/pzpt/tpzpz/pzpzp6pz/updatedb",
|
|
31
|
+
updatedb(query: IPzptpzpzp6pzUpdatedbQuerys, params: object) {
|
|
32
|
+
return this.httpRequest.post<TPzpt.IPzptPzpzP6pzResponse[]>("/gapi/pzpt/tpzpz/pzpzp6pz/updatedb", query, params);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/**
|
package/packages/pzpt/types.ts
CHANGED
|
@@ -433,6 +433,18 @@ export class TPzptpzpzp6pzSelectdbQuerys implements IPzptpzpzp6pzSelectdbQuerys
|
|
|
433
433
|
pzpzmain: number = -1;
|
|
434
434
|
}
|
|
435
435
|
|
|
436
|
+
export interface IPzptpzpzp6pzUpdatedbQuerys {
|
|
437
|
+
sourcend: number;
|
|
438
|
+
sourceid: number;
|
|
439
|
+
pzpzmain: number;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export class TPzptpzpzp6pzUpdatedbQuerys implements IPzptpzpzp6pzUpdatedbQuerys {
|
|
443
|
+
sourcend: number = -1;
|
|
444
|
+
sourceid: number = -1;
|
|
445
|
+
pzpzmain: number = -1;
|
|
446
|
+
}
|
|
447
|
+
|
|
436
448
|
export interface IPzptYqkmUploaddbQuerys {}
|
|
437
449
|
|
|
438
450
|
export class TPzptYqkmUploaddbQuerys implements IPzptYqkmUploaddbQuerys {}
|