@ningboyz/apis 1.7.142 → 1.7.144
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/gztb/types.ts +6 -4
- package/packages/tabl/main.ts +18 -0
- package/packages/tabl/types.ts +18 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.144",
|
|
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.7.
|
|
20
|
+
"@ningboyz/types": "1.7.144",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/gztb/types.ts
CHANGED
|
@@ -3,6 +3,7 @@ export interface IGztbMainSelectdbQuerys {
|
|
|
3
3
|
sourcend: number;
|
|
4
4
|
sourceqj: number;
|
|
5
5
|
useronly: number;
|
|
6
|
+
showunit: number;
|
|
6
7
|
}
|
|
7
8
|
|
|
8
9
|
export class TGztbMainSelectdbQuerys implements IGztbMainSelectdbQuerys {
|
|
@@ -10,6 +11,7 @@ export class TGztbMainSelectdbQuerys implements IGztbMainSelectdbQuerys {
|
|
|
10
11
|
sourcend: number = -1;
|
|
11
12
|
sourceqj: number = -1;
|
|
12
13
|
useronly: number = -1;
|
|
14
|
+
showunit: number = -1;
|
|
13
15
|
}
|
|
14
16
|
|
|
15
17
|
export interface IGztbMainDetaildbQuerys {
|
|
@@ -90,9 +92,9 @@ export class TGztbMainDel4gzzdQuerys implements IGztbMainDel4gzzdQuerys {
|
|
|
90
92
|
gztbmain: number = -1;
|
|
91
93
|
}
|
|
92
94
|
|
|
93
|
-
export interface IGztbMainGet4pzActivityQuerys {}
|
|
95
|
+
export interface IGztbMainGet4pzActivityQuerys { }
|
|
94
96
|
|
|
95
|
-
export class TGztbMainGet4pzActivityQuerys implements IGztbMainGet4pzActivityQuerys {}
|
|
97
|
+
export class TGztbMainGet4pzActivityQuerys implements IGztbMainGet4pzActivityQuerys { }
|
|
96
98
|
|
|
97
99
|
export interface IGztbMainUsesNextQuerys {
|
|
98
100
|
realkjnd: number;
|
|
@@ -124,9 +126,9 @@ export class TGztbMainMakezeroQuerys implements IGztbMainMakezeroQuerys {
|
|
|
124
126
|
gztbmain: number = -1;
|
|
125
127
|
}
|
|
126
128
|
|
|
127
|
-
export interface IGztbMainUpdateQuerys {}
|
|
129
|
+
export interface IGztbMainUpdateQuerys { }
|
|
128
130
|
|
|
129
|
-
export class TGztbMainUpdateQuerys implements IGztbMainUpdateQuerys {}
|
|
131
|
+
export class TGztbMainUpdateQuerys implements IGztbMainUpdateQuerys { }
|
|
130
132
|
|
|
131
133
|
export interface IGztbMainUsersizeSelectdbQuerys {}
|
|
132
134
|
|
package/packages/tabl/main.ts
CHANGED
|
@@ -17,11 +17,14 @@ import {
|
|
|
17
17
|
ITablMainInsertdbQuerys,
|
|
18
18
|
ITablMainRestorestatusQuerys,
|
|
19
19
|
ITablMainSelectcxQuerys,
|
|
20
|
+
ITablMainSwitchbackupQuerys,
|
|
21
|
+
ITablMainSwitchreturnQuerys,
|
|
20
22
|
ITablMainTablstatUpdatedb2Querys,
|
|
21
23
|
ITablMainTablstatUpdatedbQuerys,
|
|
22
24
|
ITablMainUpdatedbAsnormalQuerys,
|
|
23
25
|
ITablMainUpdatedbCommitQuerys,
|
|
24
26
|
ITablMainUpdatedbQuerys,
|
|
27
|
+
ITablMainUploadd2TablstatQuerys,
|
|
25
28
|
ITablMainUploaddbAsnormalQuerys,
|
|
26
29
|
TTablMainSelectdbQuerys
|
|
27
30
|
} from "./types";
|
|
@@ -264,6 +267,21 @@ class MainRequest {
|
|
|
264
267
|
uploaddbAsnormal(querys: ITablMainUploaddbAsnormalQuerys, params: object) {
|
|
265
268
|
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/asnormal/uploaddb", querys, params);
|
|
266
269
|
}
|
|
270
|
+
|
|
271
|
+
/**批量备份 */
|
|
272
|
+
switchBackup(querys: ITablMainSwitchbackupQuerys, params: object) {
|
|
273
|
+
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/tablstat/switchdb", querys, params);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/**批量还原状态 */
|
|
277
|
+
switchReturn(querys: ITablMainSwitchreturnQuerys, params: object) {
|
|
278
|
+
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/tablstat/returndb", querys, params);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/**更新填报状态(gztb_main&unit_main)*/
|
|
282
|
+
uploadd2Tablstat(querys: ITablMainUploadd2TablstatQuerys, params: object) {
|
|
283
|
+
return this.httpRequest.post<TTabl.ITablMainResponse[]>("/tabl/tmain/tablstat/uploadd2", querys, params);
|
|
284
|
+
}
|
|
267
285
|
}
|
|
268
286
|
|
|
269
287
|
export default MainRequest;
|
package/packages/tabl/types.ts
CHANGED
|
@@ -252,3 +252,21 @@ export interface ITablMainUploaddbAsnormalQuerys {
|
|
|
252
252
|
export class TTablMainUploaddbAsnormalQuerys implements ITablMainUploaddbAsnormalQuerys {
|
|
253
253
|
asnormal: number = -1;
|
|
254
254
|
}
|
|
255
|
+
|
|
256
|
+
export interface ITablMainSwitchbackupQuerys {}
|
|
257
|
+
|
|
258
|
+
export class TTablMainSwitchbackupQuerys implements ITablMainSwitchbackupQuerys {}
|
|
259
|
+
|
|
260
|
+
export interface ITablMainSwitchreturnQuerys {}
|
|
261
|
+
|
|
262
|
+
export class TTablMainSwitchreturnQuerys implements ITablMainSwitchreturnQuerys {}
|
|
263
|
+
|
|
264
|
+
export interface ITablMainUploadd2TablstatQuerys {
|
|
265
|
+
tablmode: number;
|
|
266
|
+
tablstat: number;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export class TTablMainUploadd2TablstatQuerys implements ITablMainUploadd2TablstatQuerys {
|
|
270
|
+
tablmode: number = -1;
|
|
271
|
+
tablstat: number = -1;
|
|
272
|
+
}
|