@ningboyz/apis 1.2.164 → 1.2.166
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/index.ts +3 -0
- package/packages/hznj/type.ts +53 -0
- package/packages/hznj/xmsy.ts +36 -0
- package/packages/yzht/main.ts +12 -1
- package/packages/yzht/types.ts +16 -8
- package/packages/hznj/xmys.ts +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.166",
|
|
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.166",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/hznj/index.ts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { createRequest, IAxiosConfig } from "../axios";
|
|
2
2
|
import BaseRequest from "./base";
|
|
3
|
+
import XmsyRequest from "./xmsy";
|
|
3
4
|
|
|
4
5
|
class HznjRequest {
|
|
5
6
|
public base: BaseRequest;
|
|
7
|
+
public xmsy: XmsyRequest;
|
|
6
8
|
|
|
7
9
|
constructor(config: IAxiosConfig) {
|
|
8
10
|
const request = createRequest(config);
|
|
9
11
|
this.base = new BaseRequest(request);
|
|
12
|
+
this.xmsy = new XmsyRequest(request);
|
|
10
13
|
}
|
|
11
14
|
}
|
|
12
15
|
|
package/packages/hznj/type.ts
CHANGED
|
@@ -50,3 +50,56 @@ export interface IHznjBaseDeletedbQuerys {
|
|
|
50
50
|
export class THznjBaseDeletedbQuerys implements IHznjBaseDeletedbQuerys {
|
|
51
51
|
sourcend: number = -1;
|
|
52
52
|
}
|
|
53
|
+
|
|
54
|
+
//#xmsy
|
|
55
|
+
export interface IHznjXmsySelectdbQuerys {
|
|
56
|
+
sourcend: number;
|
|
57
|
+
withflow: number;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export class THznjXmsySelectdbQuerys implements IHznjXmsySelectdbQuerys {
|
|
61
|
+
sourcend: number = -1;
|
|
62
|
+
withflow: number = 0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface IHznjXmsyFinishedQuerys {
|
|
66
|
+
sourcend: number;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export class THznjXmsyFinishedQuerys implements IHznjXmsyFinishedQuerys {
|
|
70
|
+
sourcend: number = -1;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export interface IHznjXmsyInsertdbQuerys {
|
|
74
|
+
sourcend: number;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export class THznjXmsyInsertdbQuerys implements IHznjXmsyInsertdbQuerys {
|
|
78
|
+
sourcend: number = -1;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export interface IHznjXmsyUpdatedbQuerys {
|
|
82
|
+
sourcend: number;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export class THznjXmsyUpdatedbQuerys implements IHznjXmsyUpdatedbQuerys {
|
|
86
|
+
sourcend: number = -1;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export interface IHznjXmsyDetailQuerys {
|
|
90
|
+
sourcend: number;
|
|
91
|
+
xmsyindx: number;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export class THznjXmsyDetailQuerys implements IHznjXmsyDetailQuerys {
|
|
95
|
+
sourcend: number = -1;
|
|
96
|
+
xmsyindx: number = -1;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export interface IHznjXmsyDeletedbQuerys {
|
|
100
|
+
sourcend: number;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export class THznjXmsyDeletedbQuerys implements IHznjXmsyDeletedbQuerys {
|
|
104
|
+
sourcend: number = -1;
|
|
105
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { THznj } from "@ningboyz/types";
|
|
2
|
+
import { HttpRequest } from "../axios";
|
|
3
|
+
import { IHznjXmsyDeletedbQuerys, IHznjXmsyDetailQuerys, IHznjXmsyFinishedQuerys, IHznjXmsyInsertdbQuerys, IHznjXmsySelectdbQuerys, IHznjXmsyUpdatedbQuerys } from "./type";
|
|
4
|
+
|
|
5
|
+
class XmsyRequest {
|
|
6
|
+
private httpRequest: HttpRequest;
|
|
7
|
+
constructor(httpRequest: HttpRequest) {
|
|
8
|
+
this.httpRequest = httpRequest;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
selectdb(querys: IHznjXmsySelectdbQuerys) {
|
|
12
|
+
return this.httpRequest.post<THznj.IHznjXmsyResponse[]>("/gapi/hznj/txmsy/selectdb", querys, undefined);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
insertdb(querys: IHznjXmsyInsertdbQuerys, params: object) {
|
|
16
|
+
return this.httpRequest.post<THznj.IHznjXmsyResponse[]>("/gapi/hznj/txmsy/insertdb", querys, params);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
updatedb(querys: IHznjXmsyUpdatedbQuerys, params: object) {
|
|
20
|
+
return this.httpRequest.post<THznj.IHznjXmsyResponse[]>("/gapi/hznj/txmsy/updatedb", querys, params);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
detaildb(querys: IHznjXmsyDetailQuerys) {
|
|
24
|
+
return this.httpRequest.post<THznj.IHznjXmsyResponse[]>("/gapi/hznj/txmsy/detaildb", querys, undefined);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
deletedb(querys: IHznjXmsyDeletedbQuerys, params: object) {
|
|
28
|
+
return this.httpRequest.post<THznj.IHznjXmsyResponse[]>("/gapi/hznj/txmsy/deletedb", querys, params);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
finished(querys: IHznjXmsyFinishedQuerys) {
|
|
32
|
+
return this.httpRequest.post<THznj.IHznjXmsyResponse[]>("/gapi/hznj/txmsy/finished", querys, undefined);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export default XmsyRequest;
|
package/packages/yzht/main.ts
CHANGED
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
IYzhtMainExecutedQuerys,
|
|
10
10
|
IYzhtMainFinishedQuerys,
|
|
11
11
|
IYzhtMainSelectd9Querys,
|
|
12
|
-
IYzhtMainSelectdbQuerys
|
|
12
|
+
IYzhtMainSelectdbQuerys,
|
|
13
|
+
IYzhtMainUpdated9Querys
|
|
13
14
|
} from "./types";
|
|
14
15
|
|
|
15
16
|
class YzhtRequest {
|
|
@@ -159,6 +160,16 @@ class YzhtRequest {
|
|
|
159
160
|
canceled(querys: IYzhtMainCanceledQuerys, params: object) {
|
|
160
161
|
return this.httpRequest.post<TYzht.IYzhtMainResponse[]>("/gapi/yzht/tmain/withsccz/canceled", querys, params);
|
|
161
162
|
}
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* 退租终审/撤销终审
|
|
166
|
+
* @param querys
|
|
167
|
+
* @param params
|
|
168
|
+
* @returns
|
|
169
|
+
*/
|
|
170
|
+
updated9(querys: IYzhtMainUpdated9Querys, params: object) {
|
|
171
|
+
return this.httpRequest.post<TYzht.IYzhtMainResponse[]>("/gapi/yzht/tmain/datahide/updatedb", querys, params);
|
|
172
|
+
}
|
|
162
173
|
}
|
|
163
174
|
|
|
164
175
|
export default YzhtRequest;
|
package/packages/yzht/types.ts
CHANGED
|
@@ -83,9 +83,9 @@ export class TYzhtGlfdSelectfdQuerys implements IYzhtGlfdSelectfdQuerys {
|
|
|
83
83
|
unitmain: number = -1;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
export interface IYzhtBillUpdated8Querys {}
|
|
86
|
+
export interface IYzhtBillUpdated8Querys { }
|
|
87
87
|
|
|
88
|
-
export class TYzhtBillUpdated8Querys implements IYzhtBillUpdated8Querys {}
|
|
88
|
+
export class TYzhtBillUpdated8Querys implements IYzhtBillUpdated8Querys { }
|
|
89
89
|
|
|
90
90
|
export interface IYzhtMainSelectd9Querys {
|
|
91
91
|
hzcbmain: number;
|
|
@@ -97,14 +97,22 @@ export class TYzhtMainSelectd9Querys implements IYzhtMainSelectd9Querys {
|
|
|
97
97
|
queuesby: string = "";
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
export interface IYzhtMainExecutedQuerys {}
|
|
100
|
+
export interface IYzhtMainExecutedQuerys { }
|
|
101
101
|
|
|
102
|
-
export class TYzhtMainExecutedQuerys implements IYzhtMainExecutedQuerys {}
|
|
102
|
+
export class TYzhtMainExecutedQuerys implements IYzhtMainExecutedQuerys { }
|
|
103
103
|
|
|
104
|
-
export interface IYzhtMainChkexis3Querys {}
|
|
104
|
+
export interface IYzhtMainChkexis3Querys { }
|
|
105
105
|
|
|
106
|
-
export class TYzhtMainChkexis3Querys implements IYzhtMainChkexis3Querys {}
|
|
106
|
+
export class TYzhtMainChkexis3Querys implements IYzhtMainChkexis3Querys { }
|
|
107
107
|
|
|
108
|
-
export interface IYzhtMainCanceledQuerys {}
|
|
108
|
+
export interface IYzhtMainCanceledQuerys { }
|
|
109
109
|
|
|
110
|
-
export class TYzhtMainCanceledQuerys implements IYzhtMainCanceledQuerys {}
|
|
110
|
+
export class TYzhtMainCanceledQuerys implements IYzhtMainCanceledQuerys { }
|
|
111
|
+
|
|
112
|
+
export interface IYzhtMainUpdated9Querys {
|
|
113
|
+
datahide: number;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export class TYzhtMainUpdated9Querys implements IYzhtMainUpdated9Querys {
|
|
117
|
+
datahide: number = -1;
|
|
118
|
+
}
|
package/packages/hznj/xmys.ts
DELETED
|
File without changes
|