@ningboyz/apis 1.4.123 → 1.4.125

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.123",
3
+ "version": "1.4.125",
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.123",
20
+ "@ningboyz/types": "1.4.125",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -6,8 +6,10 @@ import {
6
6
  IHznkDataFinishedQuerys,
7
7
  IHznkDataGet4billQuerys,
8
8
  IHznkDataInsertdbQuerys,
9
+ IHznkDataSelectd2Querys,
9
10
  IHznkDataSelectdbQuerys,
10
- IHznkDataUpdatedbQuerys
11
+ IHznkDataUpdatedbQuerys,
12
+ IHznkDataUploaddbQuerys
11
13
  } from "./type";
12
14
  import { THznk } from "@ningboyz/types";
13
15
 
@@ -48,6 +50,14 @@ class DataRequest {
48
50
  get4bill(querys: IHznkDataGet4billQuerys) {
49
51
  return this.httpRequest.post<THznk.IHznkDataBillResponse[]>("/gapi/hznk/tdata/get4bill", querys, undefined);
50
52
  }
53
+
54
+ uploaddb(querys: IHznkDataUploaddbQuerys, params: object) {
55
+ return this.httpRequest.post<THznk.IHznkDataResponse[]>("/gapi/hznk/tdata/uploaddb", querys, params);
56
+ }
57
+
58
+ selectd2(querys: IHznkDataSelectd2Querys) {
59
+ return this.httpRequest.post<THznk.IHznkDataResponse[]>("/gapi/hznk/tdata/selectd2", querys, undefined);
60
+ }
51
61
  }
52
62
 
53
63
  export default DataRequest;
@@ -21,6 +21,25 @@ export class THznkDataSelectdbQuerys implements IHznkDataSelectdbQuerys {
21
21
  useronly: number = -1;
22
22
  }
23
23
 
24
+ export interface IHznkDataSelectd2Querys {
25
+ /**const_hznk
26
+ * CONST_HZNK_DATA_DATA_TYPE_TO_个人荣誉 1001
27
+ * CONST_HZNK_DATA_DATA_TYPE_TO_人才称号 1002
28
+ * */
29
+ datatype: number;
30
+ /**知识产权类型 */
31
+ medaltyp: number;
32
+ }
33
+
34
+ export class THznkDataSelectd2Querys implements IHznkDataSelectd2Querys {
35
+ /**const_hznk
36
+ * CONST_HZNK_DATA_DATA_TYPE_TO_个人荣誉 1001
37
+ * CONST_HZNK_DATA_DATA_TYPE_TO_人才称号 1002
38
+ * */
39
+ datatype: number = 0;
40
+ medaltyp: number = 0;
41
+ }
42
+
24
43
  export interface IHznkDataFinishedQuerys {
25
44
  sourcend: number;
26
45
  dataType: number;
@@ -70,6 +89,13 @@ export class THznkDataUpdatedbQuerys implements IHznkDataUpdatedbQuerys {
70
89
  sourcend: number = -1;
71
90
  }
72
91
 
92
+ export interface IHznkDataUploaddbQuerys {
93
+ sourcend: number;
94
+ }
95
+ export class THznkDataUploaddbQuerys implements IHznkDataUploaddbQuerys {
96
+ sourcend: number = -1;
97
+ }
98
+
73
99
  export interface IHznkDataDetailQuerys {
74
100
  sourcend: number;
75
101
  dataindx: number;