@ningboyz/apis 1.2.20 → 1.2.22

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.2.20",
3
+ "version": "1.2.22",
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.2.20",
20
+ "@ningboyz/types": "1.2.22",
21
21
  "axios": "1.8.4"
22
22
  },
23
23
  "devDependencies": {}
@@ -1,6 +1,16 @@
1
1
  import type { TGams } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { IGamsTk8kmDeletedbQuerys, IGamsTk8kmDetaildbQuerys, IGamsTk8kmInsertdbQuerys, IGamsTk8kmSelectdbQuerys, IGamsTk8kmUpdatedbQuerys } from "./types";
3
+ import {
4
+ IGamsTk8kmUploaddbQuerys,
5
+ IGamsTk8kmDeletedbQuerys,
6
+ IGamsTk8kmDetaildbQuerys,
7
+ IGamsTk8kmInsertdbQuerys,
8
+ IGamsTk8kmSelectdbQuerys,
9
+ IGamsTk8kmUpdatedbQuerys,
10
+ IGamsTtypeQueuesdbQuerys,
11
+ IGamsTk8kmAppendhdQuerys,
12
+ IGamsTk8kmDel4dialQuerys
13
+ } from "./types";
4
14
 
5
15
  class TK8kmRequest {
6
16
  private httpRequest: HttpRequest;
@@ -18,12 +28,12 @@ class TK8kmRequest {
18
28
  return this.httpRequest.post<TGams.IGamsK8kmResponse[]>("/gams/tk8km/selectdb", querys, undefined);
19
29
  }
20
30
 
21
- /**
22
- * 新增报销科目
23
- * @param querys
24
- * @param params
25
- * @returns
26
- */
31
+ /**
32
+ * 新增报销科目
33
+ * @param querys
34
+ * @param params
35
+ * @returns
36
+ */
27
37
  insertdb(querys: IGamsTk8kmInsertdbQuerys, params: object) {
28
38
  return this.httpRequest.post<TGams.IGamsK8kmResponse[]>("/gams/tk8km/insertdb", querys, params);
29
39
  }
@@ -56,6 +66,49 @@ class TK8kmRequest {
56
66
  detaildb(querys: IGamsTk8kmDetaildbQuerys) {
57
67
  return this.httpRequest.post<TGams.IGamsK8kmResponse[]>("/gams/tk8km/detaildb", querys, undefined);
58
68
  }
69
+ /**
70
+ * 排序
71
+ * @param params
72
+ * @returns
73
+ */
74
+ queuesdb(params: object) {
75
+ return this.httpRequest.post<TGams.IGamsK8kmResponse[]>("/gams/tk8km/queuesdb", undefined, params);
76
+ }
77
+ /**
78
+ * 创建缓存
79
+ * @param querys
80
+ * @returns
81
+ */
82
+ createdb(querys: IGamsTtypeQueuesdbQuerys) {
83
+ return this.httpRequest.post<TGams.IGamsK8kmResponse[]>("/gams/tdial/useredis/get4dial/createdb", querys, undefined);
84
+ }
85
+ /**
86
+ * 上传标准
87
+ * @param querys
88
+ * @param params
89
+ * @returns
90
+ */
91
+ uploaddb(querys: IGamsTk8kmUploaddbQuerys, params: object) {
92
+ return this.httpRequest.post<TGams.IGamsK8kmResponse[]>("gams/tdial/dialdata/uploaddb", querys, params);
93
+ }
94
+ /**
95
+ * 追加额度
96
+ * @param querys
97
+ * @param params
98
+ * @returns
99
+ */
100
+ appendhd(querys: IGamsTk8kmAppendhdQuerys, params: object) {
101
+ return this.httpRequest.post<TGams.IGamsK8kmResponse[]>("gams/tk8km/appendhd", querys, params);
102
+ }
103
+ /**
104
+ * 删除标准
105
+ * @param querys
106
+ * @param params
107
+ * @returns
108
+ */
109
+ del4dial(querys: IGamsTk8kmDel4dialQuerys, params: object) {
110
+ return this.httpRequest.post<TGams.IGamsK8kmResponse[]>("gams/tdial/k8kmkmid/del4dial", querys, params);
111
+ }
59
112
  }
60
113
 
61
114
  export default TK8kmRequest;
@@ -219,3 +219,33 @@ export class TGamsItemQueuesdbQuerys implements IGamsItemQueuesdbQuerys {
219
219
  sourcend: number = -1;
220
220
  sourceid: number = -1;
221
221
  }
222
+ export interface IGamsTk8kmUploaddbQuerys {
223
+ sourcend: number;
224
+ sourceid: number;
225
+ diamain: number;
226
+ }
227
+ export class TGamsTk8kmUploaddbQuerys implements IGamsTk8kmUploaddbQuerys {
228
+ sourcend: number = -1;
229
+ sourceid: number = -1;
230
+ diamain: number = -1;
231
+ }
232
+ export interface IGamsTk8kmAppendhdQuerys {
233
+ sourcend: number;
234
+ sourceid: number;
235
+ k8kmkmid: number;
236
+ }
237
+ export class TGamsTk8kmAppendhdQuerys implements IGamsTk8kmAppendhdQuerys {
238
+ sourcend: number = -1;
239
+ sourceid: number = -1;
240
+ k8kmkmid: number = -1;
241
+ }
242
+ export interface IGamsTk8kmDel4dialQuerys {
243
+ sourcend: number;
244
+ sourceid: number;
245
+ k8kmkmid: number;
246
+ }
247
+ export class TGamsTk8kmDel4dialQuerys implements IGamsTk8kmDel4dialQuerys {
248
+ sourcend: number = -1;
249
+ sourceid: number = -1;
250
+ k8kmkmid: number = -1;
251
+ }
@@ -1,6 +1,6 @@
1
1
  import { TYzht } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { IYzhtGlpzUploaddbQuerys } from "./types";
3
+ import { IYzhtGlfdSelectfdQuerys, IYzhtGlpzUploaddbQuerys } from "./types";
4
4
 
5
5
 
6
6
  class GlpzRequest {
@@ -28,6 +28,15 @@ class GlpzRequest {
28
28
  deletedb(params: object) {
29
29
  return this.httpRequest.post<TYzht.IYzhtMainResponse[]>("/gapi/yzht/tglpz/deletedb", undefined, params);
30
30
  }
31
+
32
+ /**
33
+ * 获取关联配置副单列表
34
+ * @param querys
35
+ * @returns
36
+ */
37
+ selectfd(querys: IYzhtGlfdSelectfdQuerys) {
38
+ return this.httpRequest.post<TYzht.IYzhtMainResponse[]>("/gapi/yzht/tglfd/selectfd", querys);
39
+ }
31
40
  }
32
41
 
33
42
  export default GlpzRequest;
@@ -76,7 +76,7 @@ class YzhtRequest {
76
76
 
77
77
  /**
78
78
  * 更新合同付款计划
79
- * @param querys
79
+ * @param params
80
80
  * @returns
81
81
  */
82
82
  updated8(params: object) {
@@ -63,6 +63,14 @@ export class TYzhtGlpzUploaddbQuerys implements IYzhtGlpzUploaddbQuerys {
63
63
  unitmain: number = -1;
64
64
  }
65
65
 
66
+ export interface IYzhtGlfdSelectfdQuerys {
67
+ unitmain: number;
68
+ }
69
+
70
+ export class TYzhtGlfdSelectfdQuerys implements IYzhtGlfdSelectfdQuerys {
71
+ unitmain: number = -1;
72
+ }
73
+
66
74
 
67
75
  export interface IYzhtBillUpdated8Querys {
68
76
  }