@ningboyz/apis 1.0.18 → 1.0.21
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/index.ts +5 -4
- package/package.json +1 -1
- package/packages/antv/index.ts +2 -1
- package/packages/axios.ts +32 -17
- package/packages/card/index.ts +1 -1
- package/packages/cnfg/index.ts +1 -0
- package/packages/cnfg/type.ts +4 -0
- package/packages/core/index.ts +1 -1
- package/packages/expd/index.ts +1 -1
- package/packages/flow/duty.ts +21 -22
- package/packages/flow/flow.ts +40 -42
- package/packages/flow/index.ts +1 -0
- package/packages/flow/main.ts +16 -18
- package/packages/flow/node.ts +23 -24
- package/packages/flow/type.ts +123 -0
- package/packages/gams/cnfg.ts +3 -2
- package/packages/gams/index.ts +1 -0
- package/packages/gams/type.ts +7 -0
- package/packages/grow/grow.ts +1 -1
- package/packages/grow/index.ts +1 -0
- package/packages/grow/type.ts +8 -0
- package/packages/gzjg/gzlm.ts +27 -37
- package/packages/gzjg/index.ts +1 -0
- package/packages/gzjg/main.ts +29 -21
- package/packages/gzjg/type.ts +73 -0
- package/packages/gztb/index.ts +1 -0
- package/packages/gztb/main.ts +3 -5
- package/packages/gztb/type.ts +7 -0
- package/packages/index.ts +18 -0
- package/packages/load/index.ts +1 -0
- package/packages/load/type.ts +9 -0
- package/packages/load/yqdw.ts +1 -2
- package/packages/load/yqkm.ts +1 -2
- package/packages/noti/index.ts +1 -0
- package/packages/noti/main.ts +9 -11
- package/packages/noti/type.ts +12 -0
- package/packages/ocri/path.ts +4 -2
- package/packages/ocri/type.ts +7 -0
- package/packages/pzpt/cnfg.ts +15 -32
- package/packages/pzpt/index.ts +1 -0
- package/packages/pzpt/item.ts +13 -33
- package/packages/pzpt/k0km.ts +7 -18
- package/packages/pzpt/k8km.ts +9 -28
- package/packages/pzpt/kbkm.ts +3 -9
- package/packages/pzpt/type.ts +22 -38
- package/packages/pzpt/types.ts +281 -0
- package/packages/pzpt/yqkb.ts +5 -12
- package/packages/pzpt/yqkm.ts +11 -25
- package/packages/tabl/index.ts +1 -0
- package/packages/tabl/main.ts +80 -140
- package/packages/tabl/type.ts +148 -0
- package/packages/task/index.ts +1 -0
- package/packages/task/main.ts +5 -11
- package/packages/task/type.ts +18 -0
- package/packages/wldy/data.ts +13 -17
- package/packages/wldy/index.ts +1 -0
- package/packages/wldy/item.ts +13 -18
- package/packages/wldy/page.ts +14 -21
- package/packages/wldy/type.ts +40 -0
- package/packages/wtui/ctrl.ts +1 -1
- package/packages/wtui/index.ts +1 -0
- package/packages/wtui/node.ts +2 -2
- package/packages/wtui/type.ts +3 -1
- package/packages/wtui/zone.ts +5 -6
- package/packages/gzjg/types.ts +0 -4
package/packages/pzpt/k0km.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { TPzpt } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
+
import { IPzptK0kmInsertdbQuerys, IPzptK0kmSelectdbQuerys, IPzptK0kmUpdatedbQuerys } from "./types";
|
|
3
4
|
|
|
4
5
|
class K0kmRequest {
|
|
5
6
|
private httpRequest: HttpRequest;
|
|
@@ -12,12 +13,8 @@ class K0kmRequest {
|
|
|
12
13
|
* @param sourcend
|
|
13
14
|
* @param sourceid
|
|
14
15
|
*/
|
|
15
|
-
selectdb(
|
|
16
|
-
|
|
17
|
-
sourcend,
|
|
18
|
-
sourceid
|
|
19
|
-
};
|
|
20
|
-
return this.httpRequest.post<TPzpt.IPzptK0kmResponse[]>("/gapi/pzpt/tk0km/selectdb", undefined, params);
|
|
16
|
+
selectdb(querys: IPzptK0kmSelectdbQuerys) {
|
|
17
|
+
return this.httpRequest.post<TPzpt.IPzptK0kmResponse[]>("/gapi/pzpt/tk0km/selectdb", querys, undefined);
|
|
21
18
|
}
|
|
22
19
|
|
|
23
20
|
/**
|
|
@@ -26,12 +23,8 @@ class K0kmRequest {
|
|
|
26
23
|
* @param sourceid
|
|
27
24
|
* @param data
|
|
28
25
|
*/
|
|
29
|
-
insertdb(
|
|
30
|
-
|
|
31
|
-
sourcend,
|
|
32
|
-
sourceid
|
|
33
|
-
};
|
|
34
|
-
return this.httpRequest.post<TPzpt.IPzptK0kmResponse[]>("/gapi/pzpt/tk0km/insertdb", data, params);
|
|
26
|
+
insertdb(querys: IPzptK0kmInsertdbQuerys, params: object) {
|
|
27
|
+
return this.httpRequest.post<TPzpt.IPzptK0kmResponse[]>("/gapi/pzpt/tk0km/insertdb", querys, params);
|
|
35
28
|
}
|
|
36
29
|
|
|
37
30
|
/**
|
|
@@ -40,12 +33,8 @@ class K0kmRequest {
|
|
|
40
33
|
* @param sourceid
|
|
41
34
|
* @param data
|
|
42
35
|
*/
|
|
43
|
-
updatedb(
|
|
44
|
-
|
|
45
|
-
sourcend,
|
|
46
|
-
sourceid
|
|
47
|
-
};
|
|
48
|
-
return this.httpRequest.post<TPzpt.IPzptK0kmResponse[]>("/gapi/pzpt/tk0km/updatedb", data, params);
|
|
36
|
+
updatedb(querys: IPzptK0kmUpdatedbQuerys, params: object) {
|
|
37
|
+
return this.httpRequest.post<TPzpt.IPzptK0kmResponse[]>("/gapi/pzpt/tk0km/updatedb", querys, params);
|
|
49
38
|
}
|
|
50
39
|
}
|
|
51
40
|
|
package/packages/pzpt/k8km.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { TPzpt } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
+
import { IPzptK8kmDetaildbQuerys, IPzptK8kmInsertdbQuerys, IPzptK8kmSelectdbQuerys, IPzptK8kmUpdatedbQuerys } from "./types";
|
|
3
4
|
|
|
4
5
|
class K8kmRequest {
|
|
5
6
|
private httpRequest: HttpRequest;
|
|
@@ -15,15 +16,8 @@ class K8kmRequest {
|
|
|
15
16
|
* @param k0kmkmid
|
|
16
17
|
* @param parentid
|
|
17
18
|
*/
|
|
18
|
-
selectdb(
|
|
19
|
-
|
|
20
|
-
sourcend,
|
|
21
|
-
sourceid,
|
|
22
|
-
unitmain,
|
|
23
|
-
k0kmkmid,
|
|
24
|
-
parentid
|
|
25
|
-
};
|
|
26
|
-
return this.httpRequest.post<TPzpt.IPzptK8kmResponse[]>("/gapi/pzpt/tk8km/selectdb", undefined, params);
|
|
19
|
+
selectdb(querys: IPzptK8kmSelectdbQuerys) {
|
|
20
|
+
return this.httpRequest.post<TPzpt.IPzptK8kmResponse[]>("/gapi/pzpt/tk8km/selectdb", querys, undefined);
|
|
27
21
|
}
|
|
28
22
|
|
|
29
23
|
/**
|
|
@@ -32,12 +26,8 @@ class K8kmRequest {
|
|
|
32
26
|
* @param sourceid
|
|
33
27
|
* @param data
|
|
34
28
|
*/
|
|
35
|
-
insertdb(
|
|
36
|
-
|
|
37
|
-
sourcend,
|
|
38
|
-
sourceid
|
|
39
|
-
};
|
|
40
|
-
return this.httpRequest.post<TPzpt.IPzptK8kmResponse[]>("/gapi/pzpt/tk8km/insertdb", data, params);
|
|
29
|
+
insertdb(querys: IPzptK8kmInsertdbQuerys, params: object) {
|
|
30
|
+
return this.httpRequest.post<TPzpt.IPzptK8kmResponse[]>("/gapi/pzpt/tk8km/insertdb", querys, params);
|
|
41
31
|
}
|
|
42
32
|
|
|
43
33
|
/**
|
|
@@ -46,12 +36,8 @@ class K8kmRequest {
|
|
|
46
36
|
* @param sourceid
|
|
47
37
|
* @param data
|
|
48
38
|
*/
|
|
49
|
-
updatedb(
|
|
50
|
-
|
|
51
|
-
sourcend,
|
|
52
|
-
sourceid
|
|
53
|
-
};
|
|
54
|
-
return this.httpRequest.post<TPzpt.IPzptK8kmResponse[]>("/gapi/pzpt/tk8km/updatedb", data, params);
|
|
39
|
+
updatedb(querys: IPzptK8kmUpdatedbQuerys, params: object) {
|
|
40
|
+
return this.httpRequest.post<TPzpt.IPzptK8kmResponse[]>("/gapi/pzpt/tk8km/updatedb", querys, params);
|
|
55
41
|
}
|
|
56
42
|
|
|
57
43
|
/**
|
|
@@ -60,13 +46,8 @@ class K8kmRequest {
|
|
|
60
46
|
* @param sourceid
|
|
61
47
|
* @param k8kmkmid
|
|
62
48
|
*/
|
|
63
|
-
detaildb(
|
|
64
|
-
|
|
65
|
-
sourcend,
|
|
66
|
-
sourceid,
|
|
67
|
-
k8kmkmid
|
|
68
|
-
};
|
|
69
|
-
return this.httpRequest.post<TPzpt.IPzptK8kmResponse[]>("/gapi/pzpt/tk8km/detaildb", undefined, params);
|
|
49
|
+
detaildb(querys: IPzptK8kmDetaildbQuerys) {
|
|
50
|
+
return this.httpRequest.post<TPzpt.IPzptK8kmResponse[]>("/gapi/pzpt/tk8km/detaildb", querys, undefined);
|
|
70
51
|
}
|
|
71
52
|
}
|
|
72
53
|
|
package/packages/pzpt/kbkm.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { TPzpt } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
+
import { IPzptKbkmUploaddbQuerys } from "./types";
|
|
3
4
|
|
|
4
5
|
class KbkmRequest {
|
|
5
6
|
private httpRequest: HttpRequest;
|
|
@@ -16,15 +17,8 @@ class KbkmRequest {
|
|
|
16
17
|
* @param withjdbz
|
|
17
18
|
* @param data
|
|
18
19
|
*/
|
|
19
|
-
uploaddb(
|
|
20
|
-
|
|
21
|
-
sourcend,
|
|
22
|
-
sourceid,
|
|
23
|
-
sourceqj,
|
|
24
|
-
withjzbz,
|
|
25
|
-
withjdbz
|
|
26
|
-
};
|
|
27
|
-
return this.httpRequest.post<TPzpt.IPzptKbkmResponse[]>("/gapi/pzpt/tkbkm/uploaddb", data, params);
|
|
20
|
+
uploaddb(querys: IPzptKbkmUploaddbQuerys, params: object) {
|
|
21
|
+
return this.httpRequest.post<TPzpt.IPzptKbkmResponse[]>("/gapi/pzpt/tkbkm/uploaddb", querys, params);
|
|
28
22
|
}
|
|
29
23
|
}
|
|
30
24
|
|
package/packages/pzpt/type.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { TPzpt } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
+
import { IPzptTypeDeletedbQuerys, IPzptTypeInsertdbQuerys, IPzptTypeSelctdbQuerys, IPzptTypeUpdatedbQuerys } from "./types";
|
|
3
4
|
|
|
4
5
|
class TypeRequest {
|
|
5
6
|
private httpRequest: HttpRequest;
|
|
@@ -8,58 +9,41 @@ class TypeRequest {
|
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
|
-
*
|
|
12
|
-
* @param
|
|
13
|
-
* @
|
|
12
|
+
*
|
|
13
|
+
* @param querys 获取核算类型列表
|
|
14
|
+
* @returns
|
|
14
15
|
*/
|
|
15
|
-
selectdb(
|
|
16
|
-
|
|
17
|
-
sourcend,
|
|
18
|
-
sourceid
|
|
19
|
-
};
|
|
20
|
-
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/ttype/selectdb", undefined, params);
|
|
16
|
+
selectdb(querys: IPzptTypeSelctdbQuerys) {
|
|
17
|
+
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/ttype/selectdb", querys, undefined);
|
|
21
18
|
}
|
|
22
19
|
|
|
23
20
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @param
|
|
26
|
-
* @param
|
|
27
|
-
* @
|
|
21
|
+
*
|
|
22
|
+
* @param querys 新增核算类型
|
|
23
|
+
* @param params
|
|
24
|
+
* @returns
|
|
28
25
|
*/
|
|
29
|
-
insertdb(
|
|
30
|
-
|
|
31
|
-
sourcend,
|
|
32
|
-
sourceid
|
|
33
|
-
};
|
|
34
|
-
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/ttype/insertdb", data, params);
|
|
26
|
+
insertdb(querys: IPzptTypeInsertdbQuerys, params: object) {
|
|
27
|
+
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/ttype/insertdb", querys, params);
|
|
35
28
|
}
|
|
36
29
|
|
|
37
30
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @param
|
|
40
|
-
* @param
|
|
41
|
-
* @
|
|
31
|
+
*
|
|
32
|
+
* @param querys 新增核算类型
|
|
33
|
+
* @param params
|
|
34
|
+
* @returns
|
|
42
35
|
*/
|
|
43
|
-
updatedb(
|
|
44
|
-
|
|
45
|
-
sourcend,
|
|
46
|
-
sourceid
|
|
47
|
-
};
|
|
48
|
-
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/ttype/updatedb", data, params);
|
|
36
|
+
updatedb(querys: IPzptTypeUpdatedbQuerys, params: object) {
|
|
37
|
+
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/ttype/updatedb", querys, params);
|
|
49
38
|
}
|
|
50
39
|
|
|
51
40
|
/**
|
|
52
41
|
* 删除核算类型
|
|
53
|
-
* @param
|
|
54
|
-
* @param
|
|
55
|
-
* @param data
|
|
42
|
+
* @param querys
|
|
43
|
+
* @param params
|
|
56
44
|
*/
|
|
57
|
-
deletedb(
|
|
58
|
-
|
|
59
|
-
sourcend,
|
|
60
|
-
sourceid
|
|
61
|
-
};
|
|
62
|
-
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/ttype/deletedb", data, params);
|
|
45
|
+
deletedb(querys: IPzptTypeDeletedbQuerys, params: object) {
|
|
46
|
+
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/ttype/deletedb", querys, params);
|
|
63
47
|
}
|
|
64
48
|
}
|
|
65
49
|
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
/** ========== cnfg ========== */
|
|
2
|
+
export interface IPzptCnfgUpdatedbQuerys {
|
|
3
|
+
sourcend: number;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export class TPzptCnfgUpdatedbQuerys implements IPzptCnfgUpdatedbQuerys {
|
|
7
|
+
sourcend: number = -1;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface IPzptCnfgSelectdbQuerys {
|
|
11
|
+
sourcend: number;
|
|
12
|
+
unitmain: number;
|
|
13
|
+
sourceid: number;
|
|
14
|
+
deptmain: number;
|
|
15
|
+
sourcedw: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export class TPzptCnfgSelectdbQuerys implements IPzptCnfgSelectdbQuerys {
|
|
19
|
+
sourcend: number = -1;
|
|
20
|
+
unitmain: number = -1;
|
|
21
|
+
sourceid: number = -1;
|
|
22
|
+
deptmain: number = -1;
|
|
23
|
+
sourcedw: string = "";
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface IPzptCnfgDetaildbQuerys {
|
|
27
|
+
sourceNd: number;
|
|
28
|
+
sourceId: number;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export class TPzptCnfgDetaildbQuerys implements IPzptCnfgDetaildbQuerys {
|
|
32
|
+
sourceNd: number = -1;
|
|
33
|
+
sourceId: number = -1;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/** ========== item ========== */
|
|
37
|
+
export interface IPzptItemUpdatedbQuerys {
|
|
38
|
+
sourcend: number;
|
|
39
|
+
sourceid: number;
|
|
40
|
+
typemain: number;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export class TPzptItemUpdatedbQuerys implements IPzptItemUpdatedbQuerys {
|
|
44
|
+
sourcend: number = -1;
|
|
45
|
+
sourceid: number = -1;
|
|
46
|
+
typemain: number = -1;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface IPzptItemSelectdbQuerys {
|
|
50
|
+
sourcend: number;
|
|
51
|
+
sourceid: number;
|
|
52
|
+
typemain: number;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export class TPzptItemSelectdbQuerys implements IPzptItemSelectdbQuerys {
|
|
56
|
+
sourcend: number = -1;
|
|
57
|
+
sourceid: number = -1;
|
|
58
|
+
typemain: number = -1;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface IPzptItemInsertdbQuerys {
|
|
62
|
+
sourcend: number;
|
|
63
|
+
sourceid: number;
|
|
64
|
+
typemain: number;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export class TPzptItemInsertdbQuerys implements IPzptItemInsertdbQuerys {
|
|
68
|
+
sourcend: number = -1;
|
|
69
|
+
sourceid: number = -1;
|
|
70
|
+
typemain: number = -1;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export interface IPzptItemDeletedbQuerys {
|
|
74
|
+
sourcend: number;
|
|
75
|
+
sourceid: number;
|
|
76
|
+
typemain: number;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export class TPzptItemDeletedbQuerys implements IPzptItemDeletedbQuerys {
|
|
80
|
+
sourcend: number = -1;
|
|
81
|
+
sourceid: number = -1;
|
|
82
|
+
typemain: number = -1;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/** ========== k0km ========== */
|
|
86
|
+
export interface IPzptK0kmUpdatedbQuerys {
|
|
87
|
+
sourcend: number;
|
|
88
|
+
sourceid: number;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export class IPzptK0kmUpdatedbQuerys implements IPzptK0kmUpdatedbQuerys {
|
|
92
|
+
sourcend: number = -1;
|
|
93
|
+
sourceid: number = -1;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export interface IPzptK0kmSelectdbQuerys {
|
|
97
|
+
sourcend: number;
|
|
98
|
+
sourceid: number;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export class TPzptK0kmSelectdbQuerys implements IPzptK0kmSelectdbQuerys {
|
|
102
|
+
sourcend: number = -1;
|
|
103
|
+
sourceid: number = -1;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export interface IPzptK0kmInsertdbQuerys {
|
|
107
|
+
sourcend: number;
|
|
108
|
+
sourceid: number;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export class TPzptK0kmInsertdbQuerys implements IPzptK0kmInsertdbQuerys {
|
|
112
|
+
sourcend: number = -1;
|
|
113
|
+
sourceid: number = -1;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/** ========== k8km ========== */
|
|
117
|
+
export interface IPzptK8kmUpdatedbQuerys {
|
|
118
|
+
sourcend: number;
|
|
119
|
+
sourceid: number;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export class TPzptK8kmUpdatedbQuerys implements IPzptK8kmUpdatedbQuerys {
|
|
123
|
+
sourcend: number = -1;
|
|
124
|
+
sourceid: number = -1;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export interface IPzptK8kmSelectdbQuerys {
|
|
128
|
+
sourcend: number;
|
|
129
|
+
sourceid: number;
|
|
130
|
+
unitmain: number;
|
|
131
|
+
k0kmkmid: number;
|
|
132
|
+
parentid: number;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export class TPzptK8kmSelectdbQuerys implements IPzptK8kmSelectdbQuerys {
|
|
136
|
+
sourcend: number = -1;
|
|
137
|
+
sourceid: number = -1;
|
|
138
|
+
unitmain: number = -1;
|
|
139
|
+
k0kmkmid: number = -1;
|
|
140
|
+
parentid: number = -1;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export interface IPzptK8kmInsertdbQuerys {
|
|
144
|
+
sourcend: number;
|
|
145
|
+
sourceid: number;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export class TPzptK8kmInsertdbQuerys implements IPzptK8kmInsertdbQuerys {
|
|
149
|
+
sourcend: number = -1;
|
|
150
|
+
sourceid: number = -1;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export interface IPzptK8kmDetaildbQuerys {
|
|
154
|
+
sourcend: number;
|
|
155
|
+
sourceid: number;
|
|
156
|
+
k8kmkmid: number;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export class TPzptK8kmDetaildbQuerys implements IPzptK8kmDetaildbQuerys {
|
|
160
|
+
sourcend: number = -1;
|
|
161
|
+
sourceid: number = -1;
|
|
162
|
+
k8kmkmid: number = -1;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/** ========== kbkm ========== */
|
|
166
|
+
export interface IPzptKbkmUploaddbQuerys {
|
|
167
|
+
sourcend: number;
|
|
168
|
+
sourceid: number;
|
|
169
|
+
sourceqj: number;
|
|
170
|
+
withjzbz: number;
|
|
171
|
+
withjdbz: number;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export class TPzptKbkmUploaddbQuerys implements IPzptKbkmUploaddbQuerys {
|
|
175
|
+
sourcend: number = -1;
|
|
176
|
+
sourceid: number = -1;
|
|
177
|
+
sourceqj: number = -1;
|
|
178
|
+
withjzbz: number = -1;
|
|
179
|
+
withjdbz: number = -1;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/** ========== type ========== */
|
|
183
|
+
export interface IPzptTypeSelctdbQuerys {
|
|
184
|
+
sourcend: number;
|
|
185
|
+
sourceid: number;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export class TPzptTypeSelctdbQuerys implements IPzptTypeSelctdbQuerys {
|
|
189
|
+
sourcend: number = -1;
|
|
190
|
+
sourceid: number = -1;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
export interface IPzptTypeInsertdbQuerys {
|
|
194
|
+
sourcend: number;
|
|
195
|
+
sourceid: number;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export class TPzptTypeInsertdbQuerys implements IPzptTypeInsertdbQuerys {
|
|
199
|
+
sourcend: number = -1;
|
|
200
|
+
sourceid: number = -1;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export interface IPzptTypeUpdatedbQuerys {
|
|
204
|
+
sourcend: number;
|
|
205
|
+
sourceid: number;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export class TPzptTypeUpdatedbQuerys implements IPzptTypeUpdatedbQuerys {
|
|
209
|
+
sourcend: number = -1;
|
|
210
|
+
sourceid: number = -1;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export interface IPzptTypeDeletedbQuerys {
|
|
214
|
+
sourcend: number;
|
|
215
|
+
sourceid: number;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export class TPzptTypeDeletedbQuerys implements IPzptTypeDeletedbQuerys {
|
|
219
|
+
sourcend: number = -1;
|
|
220
|
+
sourceid: number = -1;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/** ========== yqkb ========== */
|
|
224
|
+
export interface IPzptYqkbSelctdbQuerys {
|
|
225
|
+
sourcend: number;
|
|
226
|
+
kjndkjqj: number;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
export class TPzptYqkbSelctdbQuerys implements IPzptYqkbSelctdbQuerys {
|
|
230
|
+
sourcend: number = -1;
|
|
231
|
+
kjndkjqj: number = -1;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export interface IPzptYqkbCreatedbQuerys {
|
|
235
|
+
sourcend: number;
|
|
236
|
+
p2pzkjqj: number;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export class TPzptYqkbCreatedbQuerys implements IPzptYqkbCreatedbQuerys {
|
|
240
|
+
sourcend: number = -1;
|
|
241
|
+
p2pzkjqj: number = -1;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/** ========== yqkm ========== */
|
|
245
|
+
export interface IPzptYqkmSelctddQuerys {
|
|
246
|
+
sourcend: number;
|
|
247
|
+
sourceid: number;
|
|
248
|
+
yqkmcode: string;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export class TPzptYqkmSelctddQuerys implements IPzptYqkmSelctddQuerys {
|
|
252
|
+
sourcend: number = -1;
|
|
253
|
+
sourceid: number = -1;
|
|
254
|
+
yqkmcode: string = "";
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export interface IPzptYqkmCopy2allQuerys {
|
|
258
|
+
sourcend: number;
|
|
259
|
+
sourceid: number;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export class TPzptYqkmCopy2allQuerys implements IPzptYqkmCopy2allQuerys {
|
|
263
|
+
sourcend: number = -1;
|
|
264
|
+
sourceid: number = -1;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export interface IPzptYqkmDeletedbQuerys {
|
|
268
|
+
sourcend: number;
|
|
269
|
+
sourceid: number;
|
|
270
|
+
yqkmcode: string;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
export class TPzptYqkmDeletedbQuerys implements IPzptYqkmDeletedbQuerys {
|
|
274
|
+
sourcend: number = -1;
|
|
275
|
+
sourceid: number = -1;
|
|
276
|
+
yqkmcode: string = "";
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export interface IPzptYqkmUploaddbQuerys {}
|
|
280
|
+
|
|
281
|
+
export class TPzptYqkmUploaddbQuerys implements IPzptYqkmUploaddbQuerys {}
|
package/packages/pzpt/yqkb.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { HttpRequest } from "../axios";
|
|
2
2
|
import { IYqkbResponse } from "@ningboyz/types/src/load";
|
|
3
|
+
import { IPzptYqkbCreatedbQuerys, IPzptYqkbSelctdbQuerys } from "./types";
|
|
3
4
|
|
|
4
5
|
class YqkbRequest {
|
|
5
6
|
private httpRequest: HttpRequest;
|
|
@@ -7,20 +8,12 @@ class YqkbRequest {
|
|
|
7
8
|
this.httpRequest = httpRequest;
|
|
8
9
|
}
|
|
9
10
|
|
|
10
|
-
selectdb(
|
|
11
|
-
|
|
12
|
-
sourcend,
|
|
13
|
-
kjndkjqj
|
|
14
|
-
};
|
|
15
|
-
return this.httpRequest.post<IYqkbResponse[]>("/gapi/pzpt/tyqkb/selectdb", undefined, params);
|
|
11
|
+
selectdb(querys: IPzptYqkbSelctdbQuerys) {
|
|
12
|
+
return this.httpRequest.post<IYqkbResponse[]>("/gapi/pzpt/tyqkb/selectdb", querys, undefined);
|
|
16
13
|
}
|
|
17
14
|
|
|
18
|
-
createdb(
|
|
19
|
-
|
|
20
|
-
sourcend,
|
|
21
|
-
p2pzkjqj
|
|
22
|
-
};
|
|
23
|
-
return this.httpRequest.post<IYqkbResponse[]>("/gapi/pzpt/tyqkb/createdb", undefined, params);
|
|
15
|
+
createdb(querys: IPzptYqkbCreatedbQuerys) {
|
|
16
|
+
return this.httpRequest.post<IYqkbResponse[]>("/gapi/pzpt/tyqkb/createdb", querys, undefined);
|
|
24
17
|
}
|
|
25
18
|
}
|
|
26
19
|
|
package/packages/pzpt/yqkm.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Load, TPzpt } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
+
import { IPzptYqkmCopy2allQuerys, IPzptYqkmDeletedbQuerys, IPzptYqkmSelctddQuerys, IPzptYqkmUploaddbQuerys } from "./types";
|
|
3
4
|
|
|
4
5
|
class YqkmRequest {
|
|
5
6
|
private httpRequest: HttpRequest;
|
|
@@ -7,41 +8,26 @@ class YqkmRequest {
|
|
|
7
8
|
this.httpRequest = httpRequest;
|
|
8
9
|
}
|
|
9
10
|
|
|
10
|
-
selectdd(
|
|
11
|
-
|
|
12
|
-
sourcend,
|
|
13
|
-
sourceid,
|
|
14
|
-
yqkmcode
|
|
15
|
-
};
|
|
16
|
-
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/tyqkm/selectdd", undefined, params);
|
|
11
|
+
selectdd(querys: IPzptYqkmSelctddQuerys) {
|
|
12
|
+
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/tyqkm/selectdd", querys, undefined);
|
|
17
13
|
}
|
|
18
14
|
|
|
19
15
|
/**
|
|
20
16
|
* 拷贝佑全科目
|
|
21
|
-
* @param
|
|
22
|
-
* @param
|
|
23
|
-
* @param data
|
|
17
|
+
* @param querys
|
|
18
|
+
* @param params
|
|
24
19
|
* @returns
|
|
25
20
|
*/
|
|
26
|
-
copy2all(
|
|
27
|
-
|
|
28
|
-
sourcend,
|
|
29
|
-
sourceid
|
|
30
|
-
};
|
|
31
|
-
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/tyqkm/copy2all", data, params);
|
|
21
|
+
copy2all(querys: IPzptYqkmCopy2allQuerys, params: object) {
|
|
22
|
+
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/tyqkm/copy2all", querys, params);
|
|
32
23
|
}
|
|
33
24
|
|
|
34
|
-
deletedb(
|
|
35
|
-
|
|
36
|
-
sourcend,
|
|
37
|
-
sourceid,
|
|
38
|
-
yqkmcode
|
|
39
|
-
};
|
|
40
|
-
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/tyqkm/deletedb", undefined, params);
|
|
25
|
+
deletedb(querys: IPzptYqkmDeletedbQuerys) {
|
|
26
|
+
return this.httpRequest.post<TPzpt.IPzptTypeResponse[]>("/gapi/pzpt/tyqkm/deletedb", querys, undefined);
|
|
41
27
|
}
|
|
42
28
|
|
|
43
|
-
uploaddb(
|
|
44
|
-
return this.httpRequest.post<Load.IYqkmResponse[]>("/gapi/pzpt/tyqkm/uploaddb",
|
|
29
|
+
uploaddb(querys: IPzptYqkmUploaddbQuerys, params: object) {
|
|
30
|
+
return this.httpRequest.post<Load.IYqkmResponse[]>("/gapi/pzpt/tyqkm/uploaddb", querys, params);
|
|
45
31
|
}
|
|
46
32
|
}
|
|
47
33
|
|
package/packages/tabl/index.ts
CHANGED