@ningboyz/apis 1.8.26 → 1.8.27

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.8.26",
3
+ "version": "1.8.27",
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.8.26",
20
+ "@ningboyz/types": "1.8.27",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -16,6 +16,7 @@ import {
16
16
  ITablMainGet5formulaQuerys,
17
17
  ITablMainGet5wzk8Querys,
18
18
  ITablMainInsertdbQuerys,
19
+ ITablMainOnstatusSwitchdbQuerys,
19
20
  ITablMainRestorestatusQuerys,
20
21
  ITablMainSelectcxQuerys,
21
22
  ITablMainSwitchbackupQuerys,
@@ -294,6 +295,11 @@ class MainRequest {
294
295
  deleted2(querys: ITablMainDeleted2Querys, params: object) {
295
296
  return this.httpRequest.post<TTabl.ITablMainResponse[]>("/gapi/tabl/tmain/deleted2", querys, params);
296
297
  }
298
+
299
+ //删除填报记录
300
+ onstatusSwitchdb(querys: ITablMainOnstatusSwitchdbQuerys, params: object) {
301
+ return this.httpRequest.post<TTabl.ITablMainResponse[]>("/gapi/tabl/tmain/onstatus/switchdb", querys, params);
302
+ }
297
303
  }
298
304
 
299
305
  export default MainRequest;
@@ -307,3 +307,13 @@ export interface ITablMainDeleted2Querys {
307
307
  export class TTablMainDeleted2Querys implements ITablMainDeleted2Querys {
308
308
  tablmode: string = "";
309
309
  }
310
+
311
+ export interface ITablMainOnstatusSwitchdbQuerys {
312
+ sourceat: number;
313
+ targetto: number;
314
+ }
315
+
316
+ export class TTablMainOnstatusSwitchdbQuerys implements ITablMainOnstatusSwitchdbQuerys {
317
+ sourceat: number = -1;
318
+ targetto: number = -1;
319
+ }