@ningboyz/apis 1.6.81 → 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/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;
|