@ningboyz/apis 1.7.143 → 1.7.145

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.7.143",
3
+ "version": "1.7.145",
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.143",
20
+ "@ningboyz/types": "1.7.145",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -75,13 +75,9 @@ export class TGztbMainAppendtmainQuerys implements IGztbMainAppendtmainQuerys {
75
75
  }
76
76
 
77
77
  export interface IGztbMainAppen2tmainQuerys {
78
- gztbmain: number;
79
- menuuuid: string;
80
78
  }
81
79
 
82
80
  export class TGztbMainAppen2tmainQuerys implements IGztbMainAppen2tmainQuerys {
83
- gztbmain: number = -1;
84
- menuuuid: string = "";
85
81
  }
86
82
 
87
83
  export interface IGztbMainDel4gzzdQuerys {
@@ -491,8 +491,12 @@ export interface IPzptCnfgMoreSelectdbQuerys extends ICnfgBaseQuerys {}
491
491
  export class TPzptCnfgMoreSelectdbQuerys extends TCnfgBaseQuerys implements IPzptCnfgMoreSelectdbQuerys {}
492
492
 
493
493
  /** ==================cash ============ */
494
- export interface IPzptCashUploaddbQuerys {}
495
- export class TPzptCashUploaddbQuerys implements IPzptCashUploaddbQuerys {}
494
+ export interface IPzptCashUploaddbQuerys {
495
+ dodelete: number;
496
+ }
497
+ export class TPzptCashUploaddbQuerys implements IPzptCashUploaddbQuerys {
498
+ dodelete: number = -1;
499
+ }
496
500
 
497
501
  export interface IPzptCashSelectdbQuerys {
498
502
  sourcend: number;
@@ -523,12 +527,12 @@ export class TPzptTcnfgCnfgpathUploaddb implements IPzptTcnfgCnfgpathUploaddb {
523
527
  sourceid: number = -1;
524
528
  }
525
529
 
526
- export interface IPzptTcnfgCnfgpathReadFrom{
530
+ export interface IPzptTcnfgCnfgpathReadFrom {
527
531
  sourcend: number;
528
532
  sourceid: number;
529
533
  }
530
534
 
531
- export class TPzptTcnfgCnfgpathReadFrom implements IPzptTcnfgCnfgpathReadFrom{
535
+ export class TPzptTcnfgCnfgpathReadFrom implements IPzptTcnfgCnfgpathReadFrom {
532
536
  sourcend: number = -1;
533
537
  sourceid: number = -1;
534
- }
538
+ }
@@ -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;
@@ -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
+ }