@ningboyz/apis 1.2.179 → 1.2.181
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/bill/types.ts +2 -0
- package/packages/hzcb/ndjh.ts +37 -0
- package/packages/hzcb/types.ts +53 -0
- package/packages/hznj/index.ts +12 -0
- package/packages/hznj/type.ts +212 -0
- package/packages/hznj/zbcz.ts +36 -0
- package/packages/hznj/zbjg.ts +36 -0
- package/packages/hznj/zbly.ts +36 -0
- package/packages/hznj/zbth.ts +36 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.181",
|
|
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.181",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/bill/types.ts
CHANGED
|
@@ -62,11 +62,13 @@ export interface IBillMainClosedbQuerys {
|
|
|
62
62
|
closeType: number;
|
|
63
63
|
/** 关闭状态:0:未关闭;1:已关闭 */
|
|
64
64
|
canClose: number;
|
|
65
|
+
billmain: number;
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
export class TBillMainClosedbQuerys implements IBillMainClosedbQuerys {
|
|
68
69
|
closeType: number = 0;
|
|
69
70
|
canClose: number = 0;
|
|
71
|
+
billmain: number = 0;
|
|
70
72
|
}
|
|
71
73
|
|
|
72
74
|
export interface IBillMainUpdated2Querys {
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
//#年度计划
|
|
2
|
+
import { THzcb } from "@ningboyz/types";
|
|
3
|
+
import { HttpRequest } from "../axios";
|
|
4
|
+
import { IHzcbNdjhDeletedbQuerys, IHzcbNdjhDetailQuerys, IHzcbNdjhFinishedQuerys, IHzcbNdjhInsertdbQuerys, IHzcbNdjhSelectdbQuerys, IHzcbNdjhUpdatedbQuerys } from "./type";
|
|
5
|
+
|
|
6
|
+
class NdjhRequest {
|
|
7
|
+
private httpRequest: HttpRequest;
|
|
8
|
+
constructor(httpRequest: HttpRequest) {
|
|
9
|
+
this.httpRequest = httpRequest;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
selectdb(querys: IHzcbNdjhSelectdbQuerys) {
|
|
13
|
+
return this.httpRequest.post<THzcb.IHzcbNdjhResponse[]>("/gapi/hzcb/tndjh/selectdb", querys, undefined);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
insertdb(querys: IHzcbNdjhInsertdbQuerys, params: object) {
|
|
17
|
+
return this.httpRequest.post<THzcb.IHzcbNdjhResponse[]>("/gapi/hzcb/tndjh/insertdb", querys, params);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
updatedb(querys: IHzcbNdjhUpdatedbQuerys, params: object) {
|
|
21
|
+
return this.httpRequest.post<THzcb.IHzcbNdjhResponse[]>("/gapi/hzcb/tndjh/updatedb", querys, params);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
detaildb(querys: IHzcbNdjhDetailQuerys) {
|
|
25
|
+
return this.httpRequest.post<THzcb.IHzcbNdjhResponse[]>("/gapi/hzcb/tndjh/detaildb", querys, undefined);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
deletedb(querys: IHzcbNdjhDeletedbQuerys, params: object) {
|
|
29
|
+
return this.httpRequest.post<THzcb.IHzcbNdjhResponse[]>("/gapi/hzcb/tndjh/deletedb", querys, params);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
finished(querys: IHzcbNdjhFinishedQuerys) {
|
|
33
|
+
return this.httpRequest.post<THzcb.IHzcbNdjhResponse[]>("/gapi/hzcb/tndjh/finished", querys, undefined);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export default NdjhRequest;
|
package/packages/hzcb/types.ts
CHANGED
|
@@ -90,3 +90,56 @@ export interface IHzcbXmykDeletedbQuerys {
|
|
|
90
90
|
export class THzcbXmykDeletedbQuerys implements IHzcbXmykDeletedbQuerys {
|
|
91
91
|
sourcend: number = -1;
|
|
92
92
|
}
|
|
93
|
+
|
|
94
|
+
//#ndjh
|
|
95
|
+
export interface IHzcbNdjhSelectdbQuerys {
|
|
96
|
+
sourcend: number;
|
|
97
|
+
withflow: number;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export class THzcbNdjhSelectdbQuerys implements IHzcbNdjhSelectdbQuerys {
|
|
101
|
+
sourcend: number = -1;
|
|
102
|
+
withflow: number = 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export interface IHzcbNdjhFinishedQuerys {
|
|
106
|
+
sourcend: number;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export class THzcbNdjhFinishedQuerys implements IHzcbNdjhFinishedQuerys {
|
|
110
|
+
sourcend: number = -1;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export interface IHzcbNdjhInsertdbQuerys {
|
|
114
|
+
sourcend: number;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export class THzcbNdjhInsertdbQuerys implements IHzcbNdjhInsertdbQuerys {
|
|
118
|
+
sourcend: number = -1;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export interface IHzcbNdjhUpdatedbQuerys {
|
|
122
|
+
sourcend: number;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export class THzcbNdjhUpdatedbQuerys implements IHzcbNdjhUpdatedbQuerys {
|
|
126
|
+
sourcend: number = -1;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export interface IHzcbNdjhDetailQuerys {
|
|
130
|
+
sourcend: number;
|
|
131
|
+
ndjhindx: number;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export class THzcbNdjhDetailQuerys implements IHzcbNdjhDetailQuerys {
|
|
135
|
+
sourcend: number = -1;
|
|
136
|
+
ndjhindx: number = -1;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export interface IHzcbNdjhDeletedbQuerys {
|
|
140
|
+
sourcend: number;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export class THzcbNdjhDeletedbQuerys implements IHzcbNdjhDeletedbQuerys {
|
|
144
|
+
sourcend: number = -1;
|
|
145
|
+
}
|
package/packages/hznj/index.ts
CHANGED
|
@@ -6,6 +6,10 @@ import RwqxRequest from "./rwqx";
|
|
|
6
6
|
import DzqrRequest from "./dzqr";
|
|
7
7
|
import NotiRequest from "./noti";
|
|
8
8
|
import ZblrRequest from "./zblr";
|
|
9
|
+
import ZbczRequest from "./zbcz";
|
|
10
|
+
import ZbjgRequest from "./zbjg";
|
|
11
|
+
import ZblyRequest from "./zbly";
|
|
12
|
+
import ZbthRequest from "./zbth";
|
|
9
13
|
|
|
10
14
|
class HznjRequest {
|
|
11
15
|
public base: BaseRequest;
|
|
@@ -15,6 +19,10 @@ class HznjRequest {
|
|
|
15
19
|
public dzqr: DzqrRequest;
|
|
16
20
|
public noti: NotiRequest;
|
|
17
21
|
public zblr: ZblrRequest;
|
|
22
|
+
public zbcz: ZbczRequest;
|
|
23
|
+
public zbjg: ZbjgRequest;
|
|
24
|
+
public zbly: ZblyRequest;
|
|
25
|
+
public zbth: ZbthRequest;
|
|
18
26
|
|
|
19
27
|
constructor(config: IAxiosConfig) {
|
|
20
28
|
const request = createRequest(config);
|
|
@@ -25,6 +33,10 @@ class HznjRequest {
|
|
|
25
33
|
this.dzqr = new DzqrRequest(request);
|
|
26
34
|
this.noti = new NotiRequest(request);
|
|
27
35
|
this.zblr = new ZblrRequest(request);
|
|
36
|
+
this.zbcz = new ZbczRequest(request);
|
|
37
|
+
this.zbjg = new ZbjgRequest(request);
|
|
38
|
+
this.zbly = new ZblyRequest(request);
|
|
39
|
+
this.zbth = new ZbthRequest(request);
|
|
28
40
|
}
|
|
29
41
|
}
|
|
30
42
|
|
package/packages/hznj/type.ts
CHANGED
|
@@ -368,3 +368,215 @@ export interface IHznjZblrDeletedbQuerys {
|
|
|
368
368
|
export class THznjZblrDeletedbQuerys implements IHznjZblrDeletedbQuerys {
|
|
369
369
|
sourcend: number = -1;
|
|
370
370
|
}
|
|
371
|
+
|
|
372
|
+
//#Zbcz
|
|
373
|
+
export interface IHznjZbczSelectdbQuerys {
|
|
374
|
+
sourcend: number;
|
|
375
|
+
withflow: number;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export class THznjZbczSelectdbQuerys implements IHznjZbczSelectdbQuerys {
|
|
379
|
+
sourcend: number = -1;
|
|
380
|
+
withflow: number = 0;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
export interface IHznjZbczFinishedQuerys {
|
|
384
|
+
sourcend: number;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export class THznjZbczFinishedQuerys implements IHznjZbczFinishedQuerys {
|
|
388
|
+
sourcend: number = -1;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
export interface IHznjZbczInsertdbQuerys {
|
|
392
|
+
sourcend: number;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
export class THznjZbczInsertdbQuerys implements IHznjZbczInsertdbQuerys {
|
|
396
|
+
sourcend: number = -1;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
export interface IHznjZbczUpdatedbQuerys {
|
|
400
|
+
sourcend: number;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
export class THznjZbczUpdatedbQuerys implements IHznjZbczUpdatedbQuerys {
|
|
404
|
+
sourcend: number = -1;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
export interface IHznjZbczDetailQuerys {
|
|
408
|
+
sourcend: number;
|
|
409
|
+
zbczindx: number;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export class THznjZbczDetailQuerys implements IHznjZbczDetailQuerys {
|
|
413
|
+
sourcend: number = -1;
|
|
414
|
+
zbczindx: number = -1;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
export interface IHznjZbczDeletedbQuerys {
|
|
418
|
+
sourcend: number;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
export class THznjZbczDeletedbQuerys implements IHznjZbczDeletedbQuerys {
|
|
422
|
+
sourcend: number = -1;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
//#Zbjg
|
|
426
|
+
export interface IHznjZbjgSelectdbQuerys {
|
|
427
|
+
sourcend: number;
|
|
428
|
+
withflow: number;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
export class THznjZbjgSelectdbQuerys implements IHznjZbjgSelectdbQuerys {
|
|
432
|
+
sourcend: number = -1;
|
|
433
|
+
withflow: number = 0;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
export interface IHznjZbjgFinishedQuerys {
|
|
437
|
+
sourcend: number;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
export class THznjZbjgFinishedQuerys implements IHznjZbjgFinishedQuerys {
|
|
441
|
+
sourcend: number = -1;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
export interface IHznjZbjgInsertdbQuerys {
|
|
445
|
+
sourcend: number;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
export class THznjZbjgInsertdbQuerys implements IHznjZbjgInsertdbQuerys {
|
|
449
|
+
sourcend: number = -1;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
export interface IHznjZbjgUpdatedbQuerys {
|
|
453
|
+
sourcend: number;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
export class THznjZbjgUpdatedbQuerys implements IHznjZbjgUpdatedbQuerys {
|
|
457
|
+
sourcend: number = -1;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
export interface IHznjZbjgDetailQuerys {
|
|
461
|
+
sourcend: number;
|
|
462
|
+
zbjgindx: number;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
export class THznjZbjgDetailQuerys implements IHznjZbjgDetailQuerys {
|
|
466
|
+
sourcend: number = -1;
|
|
467
|
+
zbjgindx: number = -1;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
export interface IHznjZbjgDeletedbQuerys {
|
|
471
|
+
sourcend: number;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
export class THznjZbjgDeletedbQuerys implements IHznjZbjgDeletedbQuerys {
|
|
475
|
+
sourcend: number = -1;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
//#Zbly
|
|
479
|
+
export interface IHznjZblySelectdbQuerys {
|
|
480
|
+
sourcend: number;
|
|
481
|
+
withflow: number;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
export class THznjZblySelectdbQuerys implements IHznjZblySelectdbQuerys {
|
|
485
|
+
sourcend: number = -1;
|
|
486
|
+
withflow: number = 0;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
export interface IHznjZblyFinishedQuerys {
|
|
490
|
+
sourcend: number;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
export class THznjZblyFinishedQuerys implements IHznjZblyFinishedQuerys {
|
|
494
|
+
sourcend: number = -1;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
export interface IHznjZblyInsertdbQuerys {
|
|
498
|
+
sourcend: number;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
export class THznjZblyInsertdbQuerys implements IHznjZblyInsertdbQuerys {
|
|
502
|
+
sourcend: number = -1;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
export interface IHznjZblyUpdatedbQuerys {
|
|
506
|
+
sourcend: number;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export class THznjZblyUpdatedbQuerys implements IHznjZblyUpdatedbQuerys {
|
|
510
|
+
sourcend: number = -1;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
export interface IHznjZblyDetailQuerys {
|
|
514
|
+
sourcend: number;
|
|
515
|
+
zblyindx: number;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
export class THznjZblyDetailQuerys implements IHznjZblyDetailQuerys {
|
|
519
|
+
sourcend: number = -1;
|
|
520
|
+
zblyindx: number = -1;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
export interface IHznjZblyDeletedbQuerys {
|
|
524
|
+
sourcend: number;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
export class THznjZblyDeletedbQuerys implements IHznjZblyDeletedbQuerys {
|
|
528
|
+
sourcend: number = -1;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
//#Zbth
|
|
532
|
+
export interface IHznjZbthSelectdbQuerys {
|
|
533
|
+
sourcend: number;
|
|
534
|
+
withflow: number;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
export class THznjZbthSelectdbQuerys implements IHznjZbthSelectdbQuerys {
|
|
538
|
+
sourcend: number = -1;
|
|
539
|
+
withflow: number = 0;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
export interface IHznjZbthFinishedQuerys {
|
|
543
|
+
sourcend: number;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
export class THznjZbthFinishedQuerys implements IHznjZbthFinishedQuerys {
|
|
547
|
+
sourcend: number = -1;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
export interface IHznjZbthInsertdbQuerys {
|
|
551
|
+
sourcend: number;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
export class THznjZbthInsertdbQuerys implements IHznjZbthInsertdbQuerys {
|
|
555
|
+
sourcend: number = -1;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
export interface IHznjZbthUpdatedbQuerys {
|
|
559
|
+
sourcend: number;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
export class THznjZbthUpdatedbQuerys implements IHznjZbthUpdatedbQuerys {
|
|
563
|
+
sourcend: number = -1;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
export interface IHznjZbthDetailQuerys {
|
|
567
|
+
sourcend: number;
|
|
568
|
+
zbthindx: number;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
export class THznjZbthDetailQuerys implements IHznjZbthDetailQuerys {
|
|
572
|
+
sourcend: number = -1;
|
|
573
|
+
zbthindx: number = -1;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
export interface IHznjZbthDeletedbQuerys {
|
|
577
|
+
sourcend: number;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
export class THznjZbthDeletedbQuerys implements IHznjZbthDeletedbQuerys {
|
|
581
|
+
sourcend: number = -1;
|
|
582
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { THznj } from "@ningboyz/types";
|
|
2
|
+
import { HttpRequest } from "../axios";
|
|
3
|
+
import { IHznjZbczDeletedbQuerys, IHznjZbczDetailQuerys, IHznjZbczFinishedQuerys, IHznjZbczInsertdbQuerys, IHznjZbczSelectdbQuerys, IHznjZbczUpdatedbQuerys } from "./type";
|
|
4
|
+
|
|
5
|
+
class ZbczRequest {
|
|
6
|
+
private httpRequest: HttpRequest;
|
|
7
|
+
constructor(httpRequest: HttpRequest) {
|
|
8
|
+
this.httpRequest = httpRequest;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
selectdb(querys: IHznjZbczSelectdbQuerys) {
|
|
12
|
+
return this.httpRequest.post<THznj.IHznjZbczResponse[]>("/gapi/hznj/tzbcz/selectdb", querys, undefined);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
insertdb(querys: IHznjZbczInsertdbQuerys, params: object) {
|
|
16
|
+
return this.httpRequest.post<THznj.IHznjZbczResponse[]>("/gapi/hznj/tzbcz/insertdb", querys, params);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
updatedb(querys: IHznjZbczUpdatedbQuerys, params: object) {
|
|
20
|
+
return this.httpRequest.post<THznj.IHznjZbczResponse[]>("/gapi/hznj/tzbcz/updatedb", querys, params);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
detaildb(querys: IHznjZbczDetailQuerys) {
|
|
24
|
+
return this.httpRequest.post<THznj.IHznjZbczResponse[]>("/gapi/hznj/tzbcz/detaildb", querys, undefined);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
deletedb(querys: IHznjZbczDeletedbQuerys, params: object) {
|
|
28
|
+
return this.httpRequest.post<THznj.IHznjZbczResponse[]>("/gapi/hznj/tzbcz/deletedb", querys, params);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
finished(querys: IHznjZbczFinishedQuerys) {
|
|
32
|
+
return this.httpRequest.post<THznj.IHznjZbczResponse[]>("/gapi/hznj/tzbcz/finished", querys, undefined);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export default ZbczRequest;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { THznj } from "@ningboyz/types";
|
|
2
|
+
import { HttpRequest } from "../axios";
|
|
3
|
+
import { IHznjZbjgDeletedbQuerys, IHznjZbjgDetailQuerys, IHznjZbjgFinishedQuerys, IHznjZbjgInsertdbQuerys, IHznjZbjgSelectdbQuerys, IHznjZbjgUpdatedbQuerys } from "./type";
|
|
4
|
+
|
|
5
|
+
class ZbjgRequest {
|
|
6
|
+
private httpRequest: HttpRequest;
|
|
7
|
+
constructor(httpRequest: HttpRequest) {
|
|
8
|
+
this.httpRequest = httpRequest;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
selectdb(querys: IHznjZbjgSelectdbQuerys) {
|
|
12
|
+
return this.httpRequest.post<THznj.IHznjZbjgResponse[]>("/gapi/hznj/tzbjg/selectdb", querys, undefined);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
insertdb(querys: IHznjZbjgInsertdbQuerys, params: object) {
|
|
16
|
+
return this.httpRequest.post<THznj.IHznjZbjgResponse[]>("/gapi/hznj/tzbjg/insertdb", querys, params);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
updatedb(querys: IHznjZbjgUpdatedbQuerys, params: object) {
|
|
20
|
+
return this.httpRequest.post<THznj.IHznjZbjgResponse[]>("/gapi/hznj/tzbjg/updatedb", querys, params);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
detaildb(querys: IHznjZbjgDetailQuerys) {
|
|
24
|
+
return this.httpRequest.post<THznj.IHznjZbjgResponse[]>("/gapi/hznj/tzbjg/detaildb", querys, undefined);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
deletedb(querys: IHznjZbjgDeletedbQuerys, params: object) {
|
|
28
|
+
return this.httpRequest.post<THznj.IHznjZbjgResponse[]>("/gapi/hznj/tzbjg/deletedb", querys, params);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
finished(querys: IHznjZbjgFinishedQuerys) {
|
|
32
|
+
return this.httpRequest.post<THznj.IHznjZbjgResponse[]>("/gapi/hznj/tzbjg/finished", querys, undefined);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export default ZbjgRequest;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { THznj } from "@ningboyz/types";
|
|
2
|
+
import { HttpRequest } from "../axios";
|
|
3
|
+
import { IHznjZblyDeletedbQuerys, IHznjZblyDetailQuerys, IHznjZblyFinishedQuerys, IHznjZblyInsertdbQuerys, IHznjZblySelectdbQuerys, IHznjZblyUpdatedbQuerys } from "./type";
|
|
4
|
+
|
|
5
|
+
class ZblyRequest {
|
|
6
|
+
private httpRequest: HttpRequest;
|
|
7
|
+
constructor(httpRequest: HttpRequest) {
|
|
8
|
+
this.httpRequest = httpRequest;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
selectdb(querys: IHznjZblySelectdbQuerys) {
|
|
12
|
+
return this.httpRequest.post<THznj.IHznjZblyResponse[]>("/gapi/hznj/tzbly/selectdb", querys, undefined);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
insertdb(querys: IHznjZblyInsertdbQuerys, params: object) {
|
|
16
|
+
return this.httpRequest.post<THznj.IHznjZblyResponse[]>("/gapi/hznj/tzbly/insertdb", querys, params);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
updatedb(querys: IHznjZblyUpdatedbQuerys, params: object) {
|
|
20
|
+
return this.httpRequest.post<THznj.IHznjZblyResponse[]>("/gapi/hznj/tzbly/updatedb", querys, params);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
detaildb(querys: IHznjZblyDetailQuerys) {
|
|
24
|
+
return this.httpRequest.post<THznj.IHznjZblyResponse[]>("/gapi/hznj/tzbly/detaildb", querys, undefined);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
deletedb(querys: IHznjZblyDeletedbQuerys, params: object) {
|
|
28
|
+
return this.httpRequest.post<THznj.IHznjZblyResponse[]>("/gapi/hznj/tzbly/deletedb", querys, params);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
finished(querys: IHznjZblyFinishedQuerys) {
|
|
32
|
+
return this.httpRequest.post<THznj.IHznjZblyResponse[]>("/gapi/hznj/tzbly/finished", querys, undefined);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export default ZblyRequest;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { THznj } from "@ningboyz/types";
|
|
2
|
+
import { HttpRequest } from "../axios";
|
|
3
|
+
import { IHznjZbthDeletedbQuerys, IHznjZbthDetailQuerys, IHznjZbthFinishedQuerys, IHznjZbthInsertdbQuerys, IHznjZbthSelectdbQuerys, IHznjZbthUpdatedbQuerys } from "./type";
|
|
4
|
+
|
|
5
|
+
class ZbthRequest {
|
|
6
|
+
private httpRequest: HttpRequest;
|
|
7
|
+
constructor(httpRequest: HttpRequest) {
|
|
8
|
+
this.httpRequest = httpRequest;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
selectdb(querys: IHznjZbthSelectdbQuerys) {
|
|
12
|
+
return this.httpRequest.post<THznj.IHznjZbthResponse[]>("/gapi/hznj/tzbth/selectdb", querys, undefined);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
insertdb(querys: IHznjZbthInsertdbQuerys, params: object) {
|
|
16
|
+
return this.httpRequest.post<THznj.IHznjZbthResponse[]>("/gapi/hznj/tzbth/insertdb", querys, params);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
updatedb(querys: IHznjZbthUpdatedbQuerys, params: object) {
|
|
20
|
+
return this.httpRequest.post<THznj.IHznjZbthResponse[]>("/gapi/hznj/tzbth/updatedb", querys, params);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
detaildb(querys: IHznjZbthDetailQuerys) {
|
|
24
|
+
return this.httpRequest.post<THznj.IHznjZbthResponse[]>("/gapi/hznj/tzbth/detaildb", querys, undefined);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
deletedb(querys: IHznjZbthDeletedbQuerys, params: object) {
|
|
28
|
+
return this.httpRequest.post<THznj.IHznjZbthResponse[]>("/gapi/hznj/tzbth/deletedb", querys, params);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
finished(querys: IHznjZbthFinishedQuerys) {
|
|
32
|
+
return this.httpRequest.post<THznj.IHznjZbthResponse[]>("/gapi/hznj/tzbth/finished", querys, undefined);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export default ZbthRequest;
|