@ningboyz/apis 1.0.125 → 1.0.127
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 +52 -0
- package/packages/pzpt/types.ts +25 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.127",
|
|
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.127",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { TPzpt } from "@ningboyz/types";
|
|
2
|
+
import type { HttpRequest } from "../axios";
|
|
3
|
+
import { IPzptpzpzp6pzSelectdbQuerys, IPzptpzpzp6pzSelectdbDetails } from "./types";
|
|
4
|
+
|
|
5
|
+
class PzpzRequest {
|
|
6
|
+
private httpRequest: HttpRequest;
|
|
7
|
+
constructor(httpRequest: HttpRequest) {
|
|
8
|
+
this.httpRequest = httpRequest;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* 获取凭证配置明细列表
|
|
13
|
+
* @param querys
|
|
14
|
+
*/
|
|
15
|
+
selectdb(querys: IPzptpzpzp6pzSelectdbQuerys) {
|
|
16
|
+
return this.httpRequest.post<TPzpt.IPzptPzpzP6pzResponse[]>("/gapi/pzpt/tpzpz/pzpzp6pz/selectdb", querys, undefined);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* 新增凭证配置明细
|
|
21
|
+
* @param params
|
|
22
|
+
*/
|
|
23
|
+
insertdb(params: object) {
|
|
24
|
+
return this.httpRequest.post<TPzpt.IPzptPzpzP6pzResponse[]>("/gapi/pzpt/tpzpz/pzpzp6pz/insertdb", undefined, params);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* 更新凭证配置明细
|
|
29
|
+
* @param data
|
|
30
|
+
*/
|
|
31
|
+
updatedb(params: object) {
|
|
32
|
+
return this.httpRequest.post<TPzpt.IPzptPzpzP6pzResponse[]>("/gapi/pzpt/tpzpz/pzpzp6pz/updatedb", undefined, params);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* 删除凭证配置明细
|
|
37
|
+
* @param params
|
|
38
|
+
*/
|
|
39
|
+
deletedb(params: object) {
|
|
40
|
+
return this.httpRequest.post<TPzpt.IPzptPzpzP6pzResponse[]>("/gapi/pzpt/tpzpz/pzpzp6pz/deletedb", undefined, params);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* 获取凭证配置明细详情
|
|
45
|
+
* @param querys
|
|
46
|
+
*/
|
|
47
|
+
detaildb(querys: IPzptpzpzp6pzSelectdbDetails) {
|
|
48
|
+
return this.httpRequest.post<TPzpt.IPzptPzpzP6pzResponse[]>("/gapi/pzpt/tpzpz/pzpzp6pz/detaildb", querys, undefined);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export default PzpzRequest;
|
package/packages/pzpt/types.ts
CHANGED
|
@@ -400,6 +400,31 @@ export class TPzptPzpzInsertdbQuerys implements IPzptPzpzInsertdbQuerys {
|
|
|
400
400
|
sourceid: number = -1;
|
|
401
401
|
}
|
|
402
402
|
|
|
403
|
+
/** ========== pzpzp6pz ========== */
|
|
404
|
+
export interface IPzptpzpzp6pzSelectdbQuerys {
|
|
405
|
+
sourcend: number;
|
|
406
|
+
sourceid: number;
|
|
407
|
+
pzpzmain: number;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export class TPzptpzpzp6pzSelectdbQuerys implements IPzptpzpzp6pzSelectdbQuerys {
|
|
411
|
+
sourcend: number = -1;
|
|
412
|
+
sourceid: number = -1;
|
|
413
|
+
pzpzmain: number = -1;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
export interface IPzptpzpzp6pzSelectdbDetails {
|
|
417
|
+
sourcend: number;
|
|
418
|
+
sourceid: number;
|
|
419
|
+
pzpzmain: number;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
export class TPzptpzpzp6pzSelectdbDetails implements IPzptpzpzp6pzSelectdbDetails {
|
|
423
|
+
sourcend: number = -1;
|
|
424
|
+
sourceid: number = -1;
|
|
425
|
+
pzpzmain: number = -1;
|
|
426
|
+
}
|
|
427
|
+
|
|
403
428
|
export interface IPzptYqkmUploaddbQuerys {}
|
|
404
429
|
|
|
405
430
|
export class TPzptYqkmUploaddbQuerys implements IPzptYqkmUploaddbQuerys {}
|