@ningboyz/apis 1.0.71 → 1.0.72
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/glfa.ts +11 -2
- package/packages/pzpt/glkm.ts +5 -4
- package/packages/pzpt/k8km.ts +1 -0
- package/packages/pzpt/types.ts +14 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.72",
|
|
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.72",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/pzpt/glfa.ts
CHANGED
|
@@ -23,12 +23,14 @@ class GlfaRequest {
|
|
|
23
23
|
selectdb(querys: IPzptGlfaSelectdbQuerys) {
|
|
24
24
|
return this.httpRequest.post<TPzpt.IPzptGlfaResponse[]>("/gapi/pzpt/tglfa/selectdb", querys, undefined);
|
|
25
25
|
}
|
|
26
|
+
|
|
26
27
|
/**
|
|
27
28
|
* 删除关联方案
|
|
29
|
+
* @param querys
|
|
28
30
|
* @param params
|
|
29
31
|
*/
|
|
30
|
-
deletedb(params: object) {
|
|
31
|
-
return this.httpRequest.post<TPzpt.IPzptGlfaResponse[]>("/gapi/pzpt/tglfa/deletedb",
|
|
32
|
+
deletedb(querys: IPzptGlfaSelectdbQuerys, params: object) {
|
|
33
|
+
return this.httpRequest.post<TPzpt.IPzptGlfaResponse[]>("/gapi/pzpt/tglfa/deletedb", querys, params);
|
|
32
34
|
}
|
|
33
35
|
/**
|
|
34
36
|
* 关联方案详情
|
|
@@ -45,6 +47,13 @@ class GlfaRequest {
|
|
|
45
47
|
updatedb(querys: IPzptGlfaUpdatedbQuerys, params: object) {
|
|
46
48
|
return this.httpRequest.post<TPzpt.IPzptGlfaResponse[]>("/gapi/pzpt/tglfa/updatedb", querys, params);
|
|
47
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* 关联方案还原
|
|
52
|
+
* @param params
|
|
53
|
+
*/
|
|
54
|
+
uploadit(querys: IPzptGlfaInsertdbQuerys, params: object) {
|
|
55
|
+
return this.httpRequest.post<TPzpt.IPzptGlfaResponse[]>("/gapi/pzpt/tglfa/uploadit", querys, params);
|
|
56
|
+
}
|
|
48
57
|
}
|
|
49
58
|
|
|
50
59
|
export default GlfaRequest;
|
package/packages/pzpt/glkm.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { TPzpt } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import { IPzptGlkmInsertdbQuerys, IPzptGlkmSelectdbQuerys, IPzptGlkmDetaildbQuerys, IPzptGlkmUpdatedbQuerys } from "./types";
|
|
3
|
+
import { IPzptGlkmInsertdbQuerys, IPzptGlkmSelectdbQuerys, IPzptGlkmDetaildbQuerys, IPzptGlkmUpdatedbQuerys, IPzptGlkmDeletebQuerys } from "./types";
|
|
4
4
|
|
|
5
5
|
class GlfaRequest {
|
|
6
6
|
private httpRequest: HttpRequest;
|
|
@@ -25,10 +25,11 @@ class GlfaRequest {
|
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* 删除关联科目
|
|
28
|
+
* @param querys
|
|
28
29
|
* @param params
|
|
29
30
|
*/
|
|
30
|
-
deletedb(params: object) {
|
|
31
|
-
return this.httpRequest.post<TPzpt.IPzptGlkmResponse[]>("/gapi/pzpt/tglkm/deletedb",
|
|
31
|
+
deletedb(querys: IPzptGlkmDeletebQuerys, params: object) {
|
|
32
|
+
return this.httpRequest.post<TPzpt.IPzptGlkmResponse[]>("/gapi/pzpt/tglkm/deletedb", querys, params);
|
|
32
33
|
}
|
|
33
34
|
/**
|
|
34
35
|
* 关联科目详情
|
package/packages/pzpt/k8km.ts
CHANGED
|
@@ -15,6 +15,7 @@ class K8kmRequest {
|
|
|
15
15
|
* @param unitmain
|
|
16
16
|
* @param k0kmkmid
|
|
17
17
|
* @param parentid
|
|
18
|
+
* @param p0pzmain
|
|
18
19
|
*/
|
|
19
20
|
selectdb(querys: IPzptK8kmSelectdbQuerys) {
|
|
20
21
|
return this.httpRequest.post<TPzpt.IPzptK8kmResponse[]>("/gapi/pzpt/tk8km/selectdb", querys, undefined);
|
package/packages/pzpt/types.ts
CHANGED
|
@@ -130,6 +130,7 @@ export interface IPzptK8kmSelectdbQuerys {
|
|
|
130
130
|
unitmain: number;
|
|
131
131
|
k0kmkmid: number;
|
|
132
132
|
parentid: number;
|
|
133
|
+
p0pzmain: number;
|
|
133
134
|
}
|
|
134
135
|
|
|
135
136
|
export class TPzptK8kmSelectdbQuerys implements IPzptK8kmSelectdbQuerys {
|
|
@@ -138,6 +139,7 @@ export class TPzptK8kmSelectdbQuerys implements IPzptK8kmSelectdbQuerys {
|
|
|
138
139
|
unitmain: number = -1;
|
|
139
140
|
k0kmkmid: number = -1;
|
|
140
141
|
parentid: number = -1;
|
|
142
|
+
p0pzmain: number = -1;
|
|
141
143
|
}
|
|
142
144
|
|
|
143
145
|
export interface IPzptK8kmInsertdbQuerys {
|
|
@@ -279,10 +281,12 @@ export class TPzptGlfaUpdatedbQuerys implements IPzptGlfaUpdatedbQuerys {
|
|
|
279
281
|
export interface IPzptGlkmInsertdbQuerys {
|
|
280
282
|
sourcend: number;
|
|
281
283
|
sourceid: number;
|
|
284
|
+
glfamain: number;
|
|
282
285
|
}
|
|
283
286
|
export class TPzptGlkmInsertdbQuerys implements IPzptGlkmInsertdbQuerys {
|
|
284
287
|
sourcend: number = -1;
|
|
285
288
|
sourceid: number = -1;
|
|
289
|
+
glfamain: number = -1;
|
|
286
290
|
}
|
|
287
291
|
export interface IPzptGlkmSelectdbQuerys {
|
|
288
292
|
sourcend: number;
|
|
@@ -314,6 +318,16 @@ export class TPzptGlkmUpdatedbQuerys implements IPzptGlkmUpdatedbQuerys {
|
|
|
314
318
|
sourcend: number = -1;
|
|
315
319
|
sourceid: number = -1;
|
|
316
320
|
}
|
|
321
|
+
export interface IPzptGlkmDeletebQuerys {
|
|
322
|
+
sourcend: number;
|
|
323
|
+
sourceid: number;
|
|
324
|
+
glfamain: number;
|
|
325
|
+
}
|
|
326
|
+
export class TPzptGlkmDeletebQuerys implements IPzptGlkmDeletebQuerys {
|
|
327
|
+
sourcend: number = -1;
|
|
328
|
+
sourceid: number = -1;
|
|
329
|
+
glfamain: number = -1;
|
|
330
|
+
}
|
|
317
331
|
/** ========== yqkm ========== */
|
|
318
332
|
export interface IPzptYqkmSelctddQuerys {
|
|
319
333
|
sourcend: number;
|