@ningboyz/apis 1.2.168 → 1.2.170
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 +2 -2
- package/packages/hznj/base.ts +1 -0
- package/packages/hznj/dzqr.ts +37 -0
- package/packages/hznj/index.ts +15 -0
- package/packages/hznj/noti.ts +37 -0
- package/packages/hznj/rwqx.ts +37 -0
- package/packages/hznj/type.ts +265 -0
- package/packages/hznj/xmjj.ts +37 -0
- package/packages/hznj/xmsy.ts +1 -0
- package/packages/hznj/zblr.ts +37 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.170",
|
|
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
|
+
"@ningboyz/types": "1.2.170",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/hznj/base.ts
CHANGED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
//#任务取消
|
|
2
|
+
import { THznj } from "@ningboyz/types";
|
|
3
|
+
import { HttpRequest } from "../axios";
|
|
4
|
+
import { IHznjDzqrDeletedbQuerys, IHznjDzqrDetailQuerys, IHznjDzqrFinishedQuerys, IHznjDzqrInsertdbQuerys, IHznjDzqrSelectdbQuerys, IHznjDzqrUpdatedbQuerys } from "./type";
|
|
5
|
+
|
|
6
|
+
class RwqxRequest {
|
|
7
|
+
private httpRequest: HttpRequest;
|
|
8
|
+
constructor(httpRequest: HttpRequest) {
|
|
9
|
+
this.httpRequest = httpRequest;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
selectdb(querys: IHznjDzqrSelectdbQuerys) {
|
|
13
|
+
return this.httpRequest.post<THznj.IHznjDzqrResponse[]>("/gapi/hznj/tdzqr/selectdb", querys, undefined);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
insertdb(querys: IHznjDzqrInsertdbQuerys, params: object) {
|
|
17
|
+
return this.httpRequest.post<THznj.IHznjDzqrResponse[]>("/gapi/hznj/tdzqr/insertdb", querys, params);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
updatedb(querys: IHznjDzqrUpdatedbQuerys, params: object) {
|
|
21
|
+
return this.httpRequest.post<THznj.IHznjDzqrResponse[]>("/gapi/hznj/tdzqr/updatedb", querys, params);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
detaildb(querys: IHznjDzqrDetailQuerys) {
|
|
25
|
+
return this.httpRequest.post<THznj.IHznjDzqrResponse[]>("/gapi/hznj/tdzqr/detaildb", querys, undefined);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
deletedb(querys: IHznjDzqrDeletedbQuerys, params: object) {
|
|
29
|
+
return this.httpRequest.post<THznj.IHznjDzqrResponse[]>("/gapi/hznj/tdzqr/deletedb", querys, params);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
finished(querys: IHznjDzqrFinishedQuerys) {
|
|
33
|
+
return this.httpRequest.post<THznj.IHznjDzqrResponse[]>("/gapi/hznj/tdzqr/finished", querys, undefined);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export default RwqxRequest;
|
package/packages/hznj/index.ts
CHANGED
|
@@ -1,15 +1,30 @@
|
|
|
1
1
|
import { createRequest, IAxiosConfig } from "../axios";
|
|
2
2
|
import BaseRequest from "./base";
|
|
3
3
|
import XmsyRequest from "./xmsy";
|
|
4
|
+
import XmjjRequest from "./xmjj";
|
|
5
|
+
import RwqxRequest from "./rwqx";
|
|
6
|
+
import DzqrRequest from "./dzqr";
|
|
7
|
+
import NotiRequest from "./noti";
|
|
8
|
+
import ZblrRequest from "./zblr";
|
|
4
9
|
|
|
5
10
|
class HznjRequest {
|
|
6
11
|
public base: BaseRequest;
|
|
7
12
|
public xmsy: XmsyRequest;
|
|
13
|
+
public xmjj: XmjjRequest;
|
|
14
|
+
public rwqx: RwqxRequest;
|
|
15
|
+
public dzqr: DzqrRequest;
|
|
16
|
+
public noti: NotiRequest;
|
|
17
|
+
public zblr: ZblrRequest;
|
|
8
18
|
|
|
9
19
|
constructor(config: IAxiosConfig) {
|
|
10
20
|
const request = createRequest(config);
|
|
11
21
|
this.base = new BaseRequest(request);
|
|
12
22
|
this.xmsy = new XmsyRequest(request);
|
|
23
|
+
this.xmjj = new XmjjRequest(request);
|
|
24
|
+
this.rwqx = new RwqxRequest(request);
|
|
25
|
+
this.dzqr = new DzqrRequest(request);
|
|
26
|
+
this.noti = new NotiRequest(request);
|
|
27
|
+
this.zblr = new ZblrRequest(request);
|
|
13
28
|
}
|
|
14
29
|
}
|
|
15
30
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
//#任务通知
|
|
2
|
+
import { THznj } from "@ningboyz/types";
|
|
3
|
+
import { HttpRequest } from "../axios";
|
|
4
|
+
import { IHznjNotiDeletedbQuerys, IHznjNotiDetailQuerys, IHznjNotiFinishedQuerys, IHznjNotiInsertdbQuerys, IHznjNotiSelectdbQuerys, IHznjNotiUpdatedbQuerys } from "./type";
|
|
5
|
+
|
|
6
|
+
class NotiRequest {
|
|
7
|
+
private httpRequest: HttpRequest;
|
|
8
|
+
constructor(httpRequest: HttpRequest) {
|
|
9
|
+
this.httpRequest = httpRequest;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
selectdb(querys: IHznjNotiSelectdbQuerys) {
|
|
13
|
+
return this.httpRequest.post<THznj.IHznjNotiResponse[]>("/gapi/hznj/tnoti/selectdb", querys, undefined);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
insertdb(querys: IHznjNotiInsertdbQuerys, params: object) {
|
|
17
|
+
return this.httpRequest.post<THznj.IHznjNotiResponse[]>("/gapi/hznj/tnoti/insertdb", querys, params);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
updatedb(querys: IHznjNotiUpdatedbQuerys, params: object) {
|
|
21
|
+
return this.httpRequest.post<THznj.IHznjNotiResponse[]>("/gapi/hznj/tnoti/updatedb", querys, params);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
detaildb(querys: IHznjNotiDetailQuerys) {
|
|
25
|
+
return this.httpRequest.post<THznj.IHznjNotiResponse[]>("/gapi/hznj/tnoti/detaildb", querys, undefined);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
deletedb(querys: IHznjNotiDeletedbQuerys, params: object) {
|
|
29
|
+
return this.httpRequest.post<THznj.IHznjNotiResponse[]>("/gapi/hznj/tnoti/deletedb", querys, params);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
finished(querys: IHznjNotiFinishedQuerys) {
|
|
33
|
+
return this.httpRequest.post<THznj.IHznjNotiResponse[]>("/gapi/hznj/tnoti/finished", querys, undefined);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export default NotiRequest;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
//#任务取消
|
|
2
|
+
import { THznj } from "@ningboyz/types";
|
|
3
|
+
import { HttpRequest } from "../axios";
|
|
4
|
+
import { IHznjRwqxDeletedbQuerys, IHznjRwqxDetailQuerys, IHznjRwqxFinishedQuerys, IHznjRwqxInsertdbQuerys, IHznjRwqxSelectdbQuerys, IHznjRwqxUpdatedbQuerys } from "./type";
|
|
5
|
+
|
|
6
|
+
class RwqxRequest {
|
|
7
|
+
private httpRequest: HttpRequest;
|
|
8
|
+
constructor(httpRequest: HttpRequest) {
|
|
9
|
+
this.httpRequest = httpRequest;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
selectdb(querys: IHznjRwqxSelectdbQuerys) {
|
|
13
|
+
return this.httpRequest.post<THznj.IHznjRwqxResponse[]>("/gapi/hznj/trwqx/selectdb", querys, undefined);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
insertdb(querys: IHznjRwqxInsertdbQuerys, params: object) {
|
|
17
|
+
return this.httpRequest.post<THznj.IHznjRwqxResponse[]>("/gapi/hznj/trwqx/insertdb", querys, params);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
updatedb(querys: IHznjRwqxUpdatedbQuerys, params: object) {
|
|
21
|
+
return this.httpRequest.post<THznj.IHznjRwqxResponse[]>("/gapi/hznj/trwqx/updatedb", querys, params);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
detaildb(querys: IHznjRwqxDetailQuerys) {
|
|
25
|
+
return this.httpRequest.post<THznj.IHznjRwqxResponse[]>("/gapi/hznj/trwqx/detaildb", querys, undefined);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
deletedb(querys: IHznjRwqxDeletedbQuerys, params: object) {
|
|
29
|
+
return this.httpRequest.post<THznj.IHznjRwqxResponse[]>("/gapi/hznj/trwqx/deletedb", querys, params);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
finished(querys: IHznjRwqxFinishedQuerys) {
|
|
33
|
+
return this.httpRequest.post<THznj.IHznjRwqxResponse[]>("/gapi/hznj/trwqx/finished", querys, undefined);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export default RwqxRequest;
|
package/packages/hznj/type.ts
CHANGED
|
@@ -103,3 +103,268 @@ export interface IHznjXmsyDeletedbQuerys {
|
|
|
103
103
|
export class THznjXmsyDeletedbQuerys implements IHznjXmsyDeletedbQuerys {
|
|
104
104
|
sourcend: number = -1;
|
|
105
105
|
}
|
|
106
|
+
|
|
107
|
+
//#xmjj
|
|
108
|
+
export interface IHznjXmjjSelectdbQuerys {
|
|
109
|
+
sourcend: number;
|
|
110
|
+
withflow: number;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export class THznjXmjjSelectdbQuerys implements IHznjXmjjSelectdbQuerys {
|
|
114
|
+
sourcend: number = -1;
|
|
115
|
+
withflow: number = 0;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export interface IHznjXmjjFinishedQuerys {
|
|
119
|
+
sourcend: number;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export class THznjXmjjFinishedQuerys implements IHznjXmjjFinishedQuerys {
|
|
123
|
+
sourcend: number = -1;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export interface IHznjXmjjInsertdbQuerys {
|
|
127
|
+
sourcend: number;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export class THznjXmjjInsertdbQuerys implements IHznjXmjjInsertdbQuerys {
|
|
131
|
+
sourcend: number = -1;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export interface IHznjXmjjUpdatedbQuerys {
|
|
135
|
+
sourcend: number;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export class THznjXmjjUpdatedbQuerys implements IHznjXmjjUpdatedbQuerys {
|
|
139
|
+
sourcend: number = -1;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export interface IHznjXmjjDetailQuerys {
|
|
143
|
+
sourcend: number;
|
|
144
|
+
xmjjindx: number;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export class THznjXmjjDetailQuerys implements IHznjXmjjDetailQuerys {
|
|
148
|
+
sourcend: number = -1;
|
|
149
|
+
xmjjindx: number = -1;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export interface IHznjXmjjDeletedbQuerys {
|
|
153
|
+
sourcend: number;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export class THznjXmjjDeletedbQuerys implements IHznjXmjjDeletedbQuerys {
|
|
157
|
+
sourcend: number = -1;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
//#rwqx
|
|
161
|
+
export interface IHznjRwqxSelectdbQuerys {
|
|
162
|
+
sourcend: number;
|
|
163
|
+
withflow: number;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export class THznjRwqxSelectdbQuerys implements IHznjRwqxSelectdbQuerys {
|
|
167
|
+
sourcend: number = -1;
|
|
168
|
+
withflow: number = 0;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export interface IHznjRwqxFinishedQuerys {
|
|
172
|
+
sourcend: number;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export class THznjRwqxFinishedQuerys implements IHznjRwqxFinishedQuerys {
|
|
176
|
+
sourcend: number = -1;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export interface IHznjRwqxInsertdbQuerys {
|
|
180
|
+
sourcend: number;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export class THznjRwqxInsertdbQuerys implements IHznjRwqxInsertdbQuerys {
|
|
184
|
+
sourcend: number = -1;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export interface IHznjRwqxUpdatedbQuerys {
|
|
188
|
+
sourcend: number;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export class THznjRwqxUpdatedbQuerys implements IHznjRwqxUpdatedbQuerys {
|
|
192
|
+
sourcend: number = -1;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export interface IHznjRwqxDetailQuerys {
|
|
196
|
+
sourcend: number;
|
|
197
|
+
rwqxindx: number;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export class THznjRwqxDetailQuerys implements IHznjRwqxDetailQuerys {
|
|
201
|
+
sourcend: number = -1;
|
|
202
|
+
rwqxindx: number = -1;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export interface IHznjRwqxDeletedbQuerys {
|
|
206
|
+
sourcend: number;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
export class THznjRwqxDeletedbQuerys implements IHznjRwqxDeletedbQuerys {
|
|
210
|
+
sourcend: number = -1;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
//#dzqr
|
|
214
|
+
export interface IHznjDzqrSelectdbQuerys {
|
|
215
|
+
sourcend: number;
|
|
216
|
+
withflow: number;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
export class THznjDzqrSelectdbQuerys implements IHznjDzqrSelectdbQuerys {
|
|
220
|
+
sourcend: number = -1;
|
|
221
|
+
withflow: number = 0;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export interface IHznjDzqrFinishedQuerys {
|
|
225
|
+
sourcend: number;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export class THznjDzqrFinishedQuerys implements IHznjDzqrFinishedQuerys {
|
|
229
|
+
sourcend: number = -1;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export interface IHznjDzqrInsertdbQuerys {
|
|
233
|
+
sourcend: number;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export class THznjDzqrInsertdbQuerys implements IHznjDzqrInsertdbQuerys {
|
|
237
|
+
sourcend: number = -1;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export interface IHznjDzqrUpdatedbQuerys {
|
|
241
|
+
sourcend: number;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export class THznjDzqrUpdatedbQuerys implements IHznjDzqrUpdatedbQuerys {
|
|
245
|
+
sourcend: number = -1;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export interface IHznjDzqrDetailQuerys {
|
|
249
|
+
sourcend: number;
|
|
250
|
+
dzqrindx: number;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export class THznjDzqrDetailQuerys implements IHznjDzqrDetailQuerys {
|
|
254
|
+
sourcend: number = -1;
|
|
255
|
+
dzqrindx: number = -1;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
export interface IHznjDzqrDeletedbQuerys {
|
|
259
|
+
sourcend: number;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export class THznjDzqrDeletedbQuerys implements IHznjDzqrDeletedbQuerys {
|
|
263
|
+
sourcend: number = -1;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
//#noti
|
|
267
|
+
export interface IHznjNotiSelectdbQuerys {
|
|
268
|
+
sourcend: number;
|
|
269
|
+
withflow: number;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export class THznjNotiSelectdbQuerys implements IHznjNotiSelectdbQuerys {
|
|
273
|
+
sourcend: number = -1;
|
|
274
|
+
withflow: number = 0;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
export interface IHznjNotiFinishedQuerys {
|
|
278
|
+
sourcend: number;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
export class THznjNotiFinishedQuerys implements IHznjNotiFinishedQuerys {
|
|
282
|
+
sourcend: number = -1;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export interface IHznjNotiInsertdbQuerys {
|
|
286
|
+
sourcend: number;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export class THznjNotiInsertdbQuerys implements IHznjNotiInsertdbQuerys {
|
|
290
|
+
sourcend: number = -1;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
export interface IHznjNotiUpdatedbQuerys {
|
|
294
|
+
sourcend: number;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export class THznjNotiUpdatedbQuerys implements IHznjNotiUpdatedbQuerys {
|
|
298
|
+
sourcend: number = -1;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
export interface IHznjNotiDetailQuerys {
|
|
302
|
+
sourcend: number;
|
|
303
|
+
notiindx: number;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export class THznjNotiDetailQuerys implements IHznjNotiDetailQuerys {
|
|
307
|
+
sourcend: number = -1;
|
|
308
|
+
notiindx: number = -1;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export interface IHznjNotiDeletedbQuerys {
|
|
312
|
+
sourcend: number;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
export class THznjNotiDeletedbQuerys implements IHznjNotiDeletedbQuerys {
|
|
316
|
+
sourcend: number = -1;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
//#zblr
|
|
320
|
+
export interface IHznjZblrSelectdbQuerys {
|
|
321
|
+
sourcend: number;
|
|
322
|
+
withflow: number;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
export class THznjZblrSelectdbQuerys implements IHznjZblrSelectdbQuerys {
|
|
326
|
+
sourcend: number = -1;
|
|
327
|
+
withflow: number = 0;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export interface IHznjZblrFinishedQuerys {
|
|
331
|
+
sourcend: number;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
export class THznjZblrFinishedQuerys implements IHznjZblrFinishedQuerys {
|
|
335
|
+
sourcend: number = -1;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export interface IHznjZblrInsertdbQuerys {
|
|
339
|
+
sourcend: number;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export class THznjZblrInsertdbQuerys implements IHznjZblrInsertdbQuerys {
|
|
343
|
+
sourcend: number = -1;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
export interface IHznjZblrUpdatedbQuerys {
|
|
347
|
+
sourcend: number;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export class THznjZblrUpdatedbQuerys implements IHznjZblrUpdatedbQuerys {
|
|
351
|
+
sourcend: number = -1;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export interface IHznjZblrDetailQuerys {
|
|
355
|
+
sourcend: number;
|
|
356
|
+
zblrindx: number;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export class THznjZblrDetailQuerys implements IHznjZblrDetailQuerys {
|
|
360
|
+
sourcend: number = -1;
|
|
361
|
+
zblrindx: number = -1;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
export interface IHznjZblrDeletedbQuerys {
|
|
365
|
+
sourcend: number;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
export class THznjZblrDeletedbQuerys implements IHznjZblrDeletedbQuerys {
|
|
369
|
+
sourcend: number = -1;
|
|
370
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
//#样品交接
|
|
2
|
+
import { THznj } from "@ningboyz/types";
|
|
3
|
+
import { HttpRequest } from "../axios";
|
|
4
|
+
import { IHznjXmjjDeletedbQuerys, IHznjXmjjDetailQuerys, IHznjXmjjFinishedQuerys, IHznjXmjjInsertdbQuerys, IHznjXmjjSelectdbQuerys, IHznjXmjjUpdatedbQuerys } from "./type";
|
|
5
|
+
|
|
6
|
+
class XmjjRequest {
|
|
7
|
+
private httpRequest: HttpRequest;
|
|
8
|
+
constructor(httpRequest: HttpRequest) {
|
|
9
|
+
this.httpRequest = httpRequest;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
selectdb(querys: IHznjXmjjSelectdbQuerys) {
|
|
13
|
+
return this.httpRequest.post<THznj.IHznjXmjjResponse[]>("/gapi/hznj/txmjj/selectdb", querys, undefined);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
insertdb(querys: IHznjXmjjInsertdbQuerys, params: object) {
|
|
17
|
+
return this.httpRequest.post<THznj.IHznjXmjjResponse[]>("/gapi/hznj/txmjj/insertdb", querys, params);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
updatedb(querys: IHznjXmjjUpdatedbQuerys, params: object) {
|
|
21
|
+
return this.httpRequest.post<THznj.IHznjXmjjResponse[]>("/gapi/hznj/txmjj/updatedb", querys, params);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
detaildb(querys: IHznjXmjjDetailQuerys) {
|
|
25
|
+
return this.httpRequest.post<THznj.IHznjXmjjResponse[]>("/gapi/hznj/txmjj/detaildb", querys, undefined);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
deletedb(querys: IHznjXmjjDeletedbQuerys, params: object) {
|
|
29
|
+
return this.httpRequest.post<THznj.IHznjXmjjResponse[]>("/gapi/hznj/txmjj/deletedb", querys, params);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
finished(querys: IHznjXmjjFinishedQuerys) {
|
|
33
|
+
return this.httpRequest.post<THznj.IHznjXmjjResponse[]>("/gapi/hznj/txmjj/finished", querys, undefined);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export default XmjjRequest;
|
package/packages/hznj/xmsy.ts
CHANGED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
//#样品项目收样
|
|
2
|
+
import { THznj } from "@ningboyz/types";
|
|
3
|
+
import { HttpRequest } from "../axios";
|
|
4
|
+
import { IHznjZblrDeletedbQuerys, IHznjZblrDetailQuerys, IHznjZblrFinishedQuerys, IHznjZblrInsertdbQuerys, IHznjZblrSelectdbQuerys, IHznjZblrUpdatedbQuerys } from "./type";
|
|
5
|
+
|
|
6
|
+
class ZblrRequest {
|
|
7
|
+
private httpRequest: HttpRequest;
|
|
8
|
+
constructor(httpRequest: HttpRequest) {
|
|
9
|
+
this.httpRequest = httpRequest;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
selectdb(querys: IHznjZblrSelectdbQuerys) {
|
|
13
|
+
return this.httpRequest.post<THznj.IHznjZblrResponse[]>("/gapi/hznj/tzblr/selectdb", querys, undefined);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
insertdb(querys: IHznjZblrInsertdbQuerys, params: object) {
|
|
17
|
+
return this.httpRequest.post<THznj.IHznjZblrResponse[]>("/gapi/hznj/tzblr/insertdb", querys, params);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
updatedb(querys: IHznjZblrUpdatedbQuerys, params: object) {
|
|
21
|
+
return this.httpRequest.post<THznj.IHznjZblrResponse[]>("/gapi/hznj/tzblr/updatedb", querys, params);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
detaildb(querys: IHznjZblrDetailQuerys) {
|
|
25
|
+
return this.httpRequest.post<THznj.IHznjZblrResponse[]>("/gapi/hznj/tzblr/detaildb", querys, undefined);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
deletedb(querys: IHznjZblrDeletedbQuerys, params: object) {
|
|
29
|
+
return this.httpRequest.post<THznj.IHznjZblrResponse[]>("/gapi/hznj/tzblr/deletedb", querys, params);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
finished(querys: IHznjZblrFinishedQuerys) {
|
|
33
|
+
return this.httpRequest.post<THznj.IHznjZblrResponse[]>("/gapi/hznj/tzblr/finished", querys, undefined);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export default ZblrRequest;
|