@ningboyz/apis 1.6.80 → 1.6.82
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 +22 -0
- package/packages/bill/types.ts +38 -0
- package/packages/hznj/dzqr.ts +16 -1
- package/packages/hznj/type.ts +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.82",
|
|
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.82",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/bill/main.ts
CHANGED
|
@@ -15,6 +15,8 @@ import {
|
|
|
15
15
|
IBillMainInsertdbQuerys,
|
|
16
16
|
IBillMainSelectd4Querys,
|
|
17
17
|
IBillMainSelectd5Querys,
|
|
18
|
+
IBillMainSelectd6Querys,
|
|
19
|
+
IBillMainSelectd7Querys,
|
|
18
20
|
IBillMainSelectdbQuerys,
|
|
19
21
|
IBillMainUpdatedbQuerys
|
|
20
22
|
} from "./types";
|
|
@@ -111,6 +113,26 @@ class MainRequest {
|
|
|
111
113
|
return this.httpRequest.post<TBill.IBillMainResponse[]>("/gapi/bill/tmain/selectd5", querys, params);
|
|
112
114
|
}
|
|
113
115
|
|
|
116
|
+
/**
|
|
117
|
+
* 查询流水
|
|
118
|
+
* @param querys
|
|
119
|
+
* @param params
|
|
120
|
+
* @returns
|
|
121
|
+
*/
|
|
122
|
+
selectd6(querys: IBillMainSelectd6Querys, params: object) {
|
|
123
|
+
return this.httpRequest.post<TBill.IBillMainResponse[]>("/gapi/bill/tmain/selectd6", querys, params);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* 查询账单
|
|
128
|
+
* @param querys
|
|
129
|
+
* @param params
|
|
130
|
+
* @returns
|
|
131
|
+
*/
|
|
132
|
+
selectd7(querys: IBillMainSelectd7Querys, params: object) {
|
|
133
|
+
return this.httpRequest.post<TBill.IBillMainResponse[]>("/gapi/bill/tmain/selectd7", querys, params);
|
|
134
|
+
}
|
|
135
|
+
|
|
114
136
|
/**
|
|
115
137
|
* 获取流水已办
|
|
116
138
|
* @returns
|
package/packages/bill/types.ts
CHANGED
|
@@ -75,6 +75,44 @@ export class TBillMainSelectd5Querys implements IBillMainSelectd5Querys {
|
|
|
75
75
|
pagesize: number = -1;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
+
export interface IBillMainSelectd6Querys {
|
|
79
|
+
sourcend: number;
|
|
80
|
+
withflow: number;
|
|
81
|
+
viewonly: number;
|
|
82
|
+
useronly: number;
|
|
83
|
+
unitmain: number;
|
|
84
|
+
yzhtmain: number;
|
|
85
|
+
realpage: number;
|
|
86
|
+
pagesize: number;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export class TBillMainSelectd6Querys implements IBillMainSelectd6Querys {
|
|
90
|
+
sourcend: number = -1;
|
|
91
|
+
withflow: number = -1;
|
|
92
|
+
viewonly: number = -1;
|
|
93
|
+
useronly: number = -1;
|
|
94
|
+
unitmain: number = -1;
|
|
95
|
+
yzhtmain: number = -1;
|
|
96
|
+
realpage: number = -1;
|
|
97
|
+
pagesize: number = -1;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export interface IBillMainSelectd7Querys {
|
|
101
|
+
sourcend: number;
|
|
102
|
+
viewonly: number;
|
|
103
|
+
useronly: number;
|
|
104
|
+
unitmain: number;
|
|
105
|
+
yzhtmain: number;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export class TBillMainSelectd7Querys implements IBillMainSelectd7Querys {
|
|
109
|
+
sourcend: number = -1;
|
|
110
|
+
viewonly: number = -1;
|
|
111
|
+
useronly: number = -1;
|
|
112
|
+
unitmain: number = -1;
|
|
113
|
+
yzhtmain: number = -1;
|
|
114
|
+
}
|
|
115
|
+
|
|
78
116
|
export interface IBillMainFinishe2Querys {
|
|
79
117
|
realpage: number;
|
|
80
118
|
pagesize: number;
|
package/packages/hznj/dzqr.ts
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
//#任务取消
|
|
2
2
|
import { THznj } from "@ningboyz/types";
|
|
3
3
|
import { HttpRequest } from "../axios";
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
IHznjDzqrDeletedbQuerys,
|
|
6
|
+
IHznjDzqrDetailQuerys,
|
|
7
|
+
IHznjDzqrFinishedQuerys,
|
|
8
|
+
IHznjDzqrInsertdbQuerys,
|
|
9
|
+
IHznjDzqrSelectdbQuerys,
|
|
10
|
+
IHznjDzqrUpdatedbQuerys,
|
|
11
|
+
THznjDzqrSelectd2Querys
|
|
12
|
+
} from "./type";
|
|
5
13
|
|
|
6
14
|
class RwqxRequest {
|
|
7
15
|
private httpRequest: HttpRequest;
|
|
@@ -13,6 +21,13 @@ class RwqxRequest {
|
|
|
13
21
|
return this.httpRequest.post<THznj.IHznjDzqrResponse[]>("/gapi/hznj/tdzqr/selectdb", querys, undefined);
|
|
14
22
|
}
|
|
15
23
|
|
|
24
|
+
/**
|
|
25
|
+
* 返回已终审的到账单据和关联的收样单ID
|
|
26
|
+
* */
|
|
27
|
+
selectd2(querys: THznjDzqrSelectd2Querys) {
|
|
28
|
+
return this.httpRequest.post<THznj.IHznjDzqrResponse[]>("/gapi/hznj/tdzqr/selectd2", querys, undefined);
|
|
29
|
+
}
|
|
30
|
+
|
|
16
31
|
insertdb(querys: IHznjDzqrInsertdbQuerys, params: object) {
|
|
17
32
|
return this.httpRequest.post<THznj.IHznjDzqrResponse[]>("/gapi/hznj/tdzqr/insertdb", querys, params);
|
|
18
33
|
}
|
package/packages/hznj/type.ts
CHANGED
|
@@ -334,6 +334,15 @@ export class THznjDzqrSelectdbQuerys implements IHznjDzqrSelectdbQuerys {
|
|
|
334
334
|
useronly: number = -1;
|
|
335
335
|
}
|
|
336
336
|
|
|
337
|
+
//#dzqr
|
|
338
|
+
export interface IHznjDzqrSelectd2Querys {
|
|
339
|
+
sourcend: number;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export class THznjDzqrSelectd2Querys implements IHznjDzqrSelectd2Querys {
|
|
343
|
+
sourcend: number = -1;
|
|
344
|
+
}
|
|
345
|
+
|
|
337
346
|
export interface IHznjDzqrFinishedQuerys {
|
|
338
347
|
sourcend: number;
|
|
339
348
|
useronly: number;
|