@ningboyz/apis 1.4.40 → 1.4.42

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.4.40",
3
+ "version": "1.4.42",
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.4.40",
20
+ "@ningboyz/types": "1.4.42",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,5 +1,5 @@
1
1
  import { HttpRequest } from "../axios";
2
- import { IHznkDataDeletedbQuerys, IHznkDataDetailQuerys, IHznkDataFinishedQuerys, IHznkDataInsertdbQuerys, IHznkDataSelectdbQuerys, IHznkDataUpdatedbQuerys } from "./type";
2
+ import { IHznkDataDeletedbQuerys, IHznkDataDeptnumsQuerys, IHznkDataDetailQuerys, IHznkDataFinishedQuerys, IHznkDataInsertdbQuerys, IHznkDataSelectdbQuerys, IHznkDataUpdatedbQuerys } from "./type";
3
3
  import { THznk } from "@ningboyz/types";
4
4
 
5
5
  class DataRequest {
@@ -31,6 +31,10 @@ class DataRequest {
31
31
  finished(querys: IHznkDataFinishedQuerys) {
32
32
  return this.httpRequest.post<THznk.IHznkDataResponse[]>("/gapi/hznk/tdata/finished", querys, undefined);
33
33
  }
34
+
35
+ deptnums(querys: IHznkDataDeptnumsQuerys) {
36
+ return this.httpRequest.post<THznk.IHznkDataResponse[]>("/gapi/hznk/tdata/deptnums", querys, undefined);
37
+ }
34
38
  }
35
39
 
36
40
  export default DataRequest;
@@ -33,6 +33,16 @@ export class THznkDataFinishedQuerys implements IHznkDataFinishedQuerys {
33
33
  useronly: number = -1;
34
34
  }
35
35
 
36
+ export interface IHznkDataDeptnumsQuerys {
37
+ sourcend: number;
38
+ dataType: number;
39
+ }
40
+
41
+ export class THznkDataDeptnumsQuerys implements IHznkDataDeptnumsQuerys {
42
+ sourcend: number = -1;
43
+ dataType: number = -1;
44
+ }
45
+
36
46
  export interface IHznkDataInsertdbQuerys {
37
47
  sourcend: number;
38
48
  }