@ningboyz/apis 1.0.139 → 1.0.140
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.0.
|
|
3
|
+
"version": "1.0.140",
|
|
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.140",
|
|
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,
|
|
3
|
+
import { IPzptpzpzp6pzSelectdbQuerys, IPzptpzpzp6pzOperatedbQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class PzpzRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -20,7 +20,7 @@ class PzpzRequest {
|
|
|
20
20
|
* 新增凭证配置明细
|
|
21
21
|
* @param params
|
|
22
22
|
*/
|
|
23
|
-
insertdb(query:
|
|
23
|
+
insertdb(query: IPzptpzpzp6pzOperatedbQuerys, params: object) {
|
|
24
24
|
return this.httpRequest.post<TPzpt.IPzptPzpzP6pzResponse[]>("/gapi/pzpt/tpzpz/pzpzp6pz/insertdb", query, params);
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -28,7 +28,7 @@ class PzpzRequest {
|
|
|
28
28
|
* 更新凭证配置明细
|
|
29
29
|
* @param data
|
|
30
30
|
*/
|
|
31
|
-
updatedb(query:
|
|
31
|
+
updatedb(query: IPzptpzpzp6pzOperatedbQuerys, params: object) {
|
|
32
32
|
return this.httpRequest.post<TPzpt.IPzptPzpzP6pzResponse[]>("/gapi/pzpt/tpzpz/pzpzp6pz/updatedb", query, params);
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -36,8 +36,8 @@ class PzpzRequest {
|
|
|
36
36
|
* 删除凭证配置明细
|
|
37
37
|
* @param params
|
|
38
38
|
*/
|
|
39
|
-
deletedb(params: object) {
|
|
40
|
-
return this.httpRequest.post<TPzpt.IPzptPzpzP6pzResponse[]>("/gapi/pzpt/tpzpz/pzpzp6pz/deletedb",
|
|
39
|
+
deletedb(query: IPzptpzpzp6pzOperatedbQuerys, params: object) {
|
|
40
|
+
return this.httpRequest.post<TPzpt.IPzptPzpzP6pzResponse[]>("/gapi/pzpt/tpzpz/pzpzp6pz/deletedb", query, params);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
package/packages/pzpt/types.ts
CHANGED
|
@@ -433,13 +433,13 @@ export class TPzptpzpzp6pzSelectdbQuerys implements IPzptpzpzp6pzSelectdbQuerys
|
|
|
433
433
|
pzpzmain: number = -1;
|
|
434
434
|
}
|
|
435
435
|
|
|
436
|
-
export interface
|
|
436
|
+
export interface IPzptpzpzp6pzOperatedbQuerys {
|
|
437
437
|
sourcend: number;
|
|
438
438
|
sourceid: number;
|
|
439
439
|
pzpzmain: number;
|
|
440
440
|
}
|
|
441
441
|
|
|
442
|
-
export class
|
|
442
|
+
export class TPzptpzpzp6pzOperatedbQuerys implements IPzptpzpzp6pzOperatedbQuerys {
|
|
443
443
|
sourcend: number = -1;
|
|
444
444
|
sourceid: number = -1;
|
|
445
445
|
pzpzmain: number = -1;
|