@ningboyz/apis 1.6.122 → 1.6.124
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/main.ts +13 -2
- package/packages/bill/types.ts +10 -2
- package/packages/core/dddw.ts +7 -1
- package/packages/core/types.ts +9 -0
- package/packages/yzht/main.ts +11 -0
- package/packages/yzht/types.ts +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.124",
|
|
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.6.
|
|
20
|
+
"@ningboyz/types": "1.6.124",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/bill/main.ts
CHANGED
|
@@ -5,13 +5,14 @@ import {
|
|
|
5
5
|
IBillMainCalculateQuerys,
|
|
6
6
|
IBillMainChkexis2Querys,
|
|
7
7
|
IBillMainChkexistQuerys,
|
|
8
|
-
|
|
8
|
+
IBillMainCopydbQuerys,
|
|
9
9
|
IBillMainDeletedbQuerys,
|
|
10
10
|
IBillMainDetaild2Querys,
|
|
11
11
|
IBillMainDetaild3Querys,
|
|
12
12
|
IBillMainDetaildbQuerys,
|
|
13
13
|
IBillMainFinishe2Querys,
|
|
14
14
|
IBillMainInsertdbQuerys,
|
|
15
|
+
IBillMainSelectcxQuerys,
|
|
15
16
|
IBillMainSelectd4Querys,
|
|
16
17
|
IBillMainSelectd5Querys,
|
|
17
18
|
IBillMainSelectd6Querys,
|
|
@@ -226,7 +227,7 @@ class MainRequest {
|
|
|
226
227
|
* @param params
|
|
227
228
|
* @returns
|
|
228
229
|
*/
|
|
229
|
-
copydb(querys:
|
|
230
|
+
copydb(querys: IBillMainCopydbQuerys, params: object) {
|
|
230
231
|
return this.httpRequest.post<TBill.IBillMainResponse[]>(`/gapi/bill/tmain/copydb`, querys, params);
|
|
231
232
|
}
|
|
232
233
|
|
|
@@ -239,6 +240,16 @@ class MainRequest {
|
|
|
239
240
|
canceldb(querys: IEmptyQuerys, params: object) {
|
|
240
241
|
return this.httpRequest.post<TBill.IBillMainResponse[]>(`/gapi/bill/tmain/canceldb`, querys, params);
|
|
241
242
|
}
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* 查询账单
|
|
246
|
+
* @param querys
|
|
247
|
+
* @param params
|
|
248
|
+
* @returns
|
|
249
|
+
*/
|
|
250
|
+
selectcx(querys: IBillMainSelectcxQuerys, params: object) {
|
|
251
|
+
return this.httpRequest.post<TBill.IBillMainResponse[]>("/gapi/bill/tmain/selectcx", querys, params);
|
|
252
|
+
}
|
|
242
253
|
}
|
|
243
254
|
|
|
244
255
|
export default MainRequest;
|
package/packages/bill/types.ts
CHANGED
|
@@ -195,12 +195,20 @@ export class TBillMainCalculateQuerys implements IBillMainCalculateQuerys {
|
|
|
195
195
|
billzffs: number = -1;
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
export interface
|
|
198
|
+
export interface IBillMainCopydbQuerys {
|
|
199
199
|
isexpend: number;
|
|
200
200
|
billmain: number;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
export class
|
|
203
|
+
export class TBillMainCopydbQuerys implements IBillMainCopydbQuerys {
|
|
204
204
|
isexpend: number = -1;
|
|
205
205
|
billmain: number = -1;
|
|
206
206
|
}
|
|
207
|
+
|
|
208
|
+
export interface IBillMainSelectcxQuerys {
|
|
209
|
+
unitmain: number;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export class TBillMainSelectcxQuerys implements IBillMainSelectcxQuerys {
|
|
213
|
+
unitmain: number = -1;
|
|
214
|
+
}
|
package/packages/core/dddw.ts
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
ICoreDddwInsertdbQuerys,
|
|
8
8
|
ICoreDddwSelectdb1Querys,
|
|
9
9
|
ICoreDddwSelectdbQuerys,
|
|
10
|
-
ICoreDddwUpdatedb1Querys,
|
|
10
|
+
ICoreDddwUpdatedb1Querys, ICoreDddwUploadd2Querys,
|
|
11
11
|
ICoreDddwUploaddbQuerys
|
|
12
12
|
} from "./types";
|
|
13
13
|
|
|
@@ -61,6 +61,12 @@ class DddwRequest {
|
|
|
61
61
|
return this.httpRequest.post<TCore.IUserLiteResponse[]>("/core/tdddw/uploaddb", querys, params);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
+
|
|
65
|
+
// 上传定点单位2
|
|
66
|
+
uploadd2(querys: ICoreDddwUploadd2Querys, params: object) {
|
|
67
|
+
return this.httpRequest.post<TCore.IUserLiteResponse[]>("/core/tdddw/uploadd2", querys, params);
|
|
68
|
+
}
|
|
69
|
+
|
|
64
70
|
/**详情
|
|
65
71
|
* @param querys
|
|
66
72
|
* @returns
|
package/packages/core/types.ts
CHANGED
|
@@ -950,6 +950,15 @@ export class TCoreDddwUploaddbQuerys implements ICoreDddwUploaddbQuerys {
|
|
|
950
950
|
ispublic: number = -1;
|
|
951
951
|
}
|
|
952
952
|
|
|
953
|
+
|
|
954
|
+
export interface ICoreDddwUploadd2Querys {
|
|
955
|
+
dictname: string;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
export class TCoreDddwUploadd2Querys implements ICoreDddwUploadd2Querys {
|
|
959
|
+
dictname: string = "";
|
|
960
|
+
}
|
|
961
|
+
|
|
953
962
|
export interface ICoreDddwDetaildbQuerys {}
|
|
954
963
|
|
|
955
964
|
export class TCoreDddwDetaildbQuerys implements ICoreDddwDetaildbQuerys {}
|
package/packages/yzht/main.ts
CHANGED
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
IYzhtMainFinishedQuerys,
|
|
18
18
|
IYzhtMainInsertdbQuerys,
|
|
19
19
|
IYzhtMainSelectc2Querys,
|
|
20
|
+
IYzhtMainSelectc4Querys,
|
|
20
21
|
IYzhtMainSelectcxQuerys,
|
|
21
22
|
IYzhtMainSelectd9Querys,
|
|
22
23
|
IYzhtMainSelectdbQuerys
|
|
@@ -299,6 +300,16 @@ class YzhtRequest {
|
|
|
299
300
|
updated9(querys: IEmptyQuerys, params: object) {
|
|
300
301
|
return this.httpRequest.post<TCustom.IValidReponse[]>("/gapi/yzht/tmain/witheror/updatedb", querys, params);
|
|
301
302
|
}
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* 获取合同列表
|
|
306
|
+
* @param querys
|
|
307
|
+
* @param params
|
|
308
|
+
* @returns
|
|
309
|
+
*/
|
|
310
|
+
selectc4(querys: IYzhtMainSelectc4Querys, params: object) {
|
|
311
|
+
return this.httpRequest.post<TCustom.IValidReponse[]>("/gapi/yzht/tmain/selectc4", querys, params);
|
|
312
|
+
}
|
|
302
313
|
}
|
|
303
314
|
|
|
304
315
|
export default YzhtRequest;
|
package/packages/yzht/types.ts
CHANGED
|
@@ -240,3 +240,13 @@ export interface IYzhtMainHasEndedQuerys {
|
|
|
240
240
|
export class TYzhtMainHasEndedQuerys implements IYzhtMainHasEndedQuerys {
|
|
241
241
|
hasEnded: number = -1;
|
|
242
242
|
}
|
|
243
|
+
|
|
244
|
+
export interface IYzhtMainSelectc4Querys {
|
|
245
|
+
unitmain: number;
|
|
246
|
+
viewonly: number;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export class TYzhtMainSelectc4Querys implements IYzhtMainSelectc4Querys {
|
|
250
|
+
unitmain: number = -1;
|
|
251
|
+
viewonly: number = -1;
|
|
252
|
+
}
|