@ningboyz/apis 1.0.129 → 1.0.130
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/cnfg.ts +9 -1
- package/packages/pzpt/types.ts +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.130",
|
|
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.130",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/pzpt/cnfg.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TPzpt } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IPzptCnfgDetaildbQuerys, IPzptCnfgSelectdbQuerys, IPzptCnfgUpdatedbQuerys } from "./types";
|
|
3
|
+
import { IPzptCnfgDetaildbQuerys, IPzptCnfgMoreSelectdbQuerys, IPzptCnfgSelectdbQuerys, IPzptCnfgUpdatedbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class CnfgRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -24,6 +24,14 @@ class CnfgRequest {
|
|
|
24
24
|
return this.httpRequest.post<TPzpt.IPzptCnfgResponse[]>("/gapi/pzpt/tcnfg/updatedb", querys, params);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
/**
|
|
28
|
+
* 完善电子账簿
|
|
29
|
+
* @param querys
|
|
30
|
+
*/
|
|
31
|
+
selectc1(querys: IPzptCnfgMoreSelectdbQuerys) {
|
|
32
|
+
return this.httpRequest.post<TPzpt.IPzptCnfgMoreResponse[]>("/gapi/pzpt/tcnfg/cnfgmore/selectdb", querys, undefined);
|
|
33
|
+
}
|
|
34
|
+
|
|
27
35
|
/**
|
|
28
36
|
* 获取账套列表
|
|
29
37
|
* @param querys
|
package/packages/pzpt/types.ts
CHANGED
|
@@ -15,6 +15,16 @@ export interface IPzptCnfgSelectdbQuerys {
|
|
|
15
15
|
sourcedw: string;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
export interface IPzptCnfgMoreSelectdbQuerys {
|
|
19
|
+
sourcend: number;
|
|
20
|
+
sourceid: number;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export class TPzptCnfgMoreSelectdbQuerys implements IPzptCnfgMoreSelectdbQuerys {
|
|
24
|
+
sourcend: number = -1;
|
|
25
|
+
sourceid: number = -1;
|
|
26
|
+
}
|
|
27
|
+
|
|
18
28
|
export class TPzptCnfgSelectdbQuerys implements IPzptCnfgSelectdbQuerys {
|
|
19
29
|
sourcend: number = -1;
|
|
20
30
|
unitmain: number = -1;
|