@ningboyz/apis 1.5.112 → 1.5.114
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 +11 -0
- package/packages/bill/types.ts +2 -2
- package/packages/yzht/types.ts +8 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.114",
|
|
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.5.
|
|
20
|
+
"@ningboyz/types": "1.5.114",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/bill/main.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TBill, TCore } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
+
import { IEmptyQuerys } from "../type";
|
|
3
4
|
import {
|
|
4
5
|
IBillMainCalculateQuerys,
|
|
5
6
|
IBillMainChkexis2Querys,
|
|
@@ -174,6 +175,16 @@ class MainRequest {
|
|
|
174
175
|
calculate(querys: IBillMainCalculateQuerys, params: object) {
|
|
175
176
|
return this.httpRequest.post<TBill.IBillMainResponse[]>(`/gapi/bill/tmain/calculate`, querys, params);
|
|
176
177
|
}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* 更新客户
|
|
181
|
+
* @param querys
|
|
182
|
+
* @param params
|
|
183
|
+
* @returns
|
|
184
|
+
*/
|
|
185
|
+
updated2(querys: IEmptyQuerys, params: object) {
|
|
186
|
+
return this.httpRequest.post<TBill.IBillMainResponse[]>(`/gapi/bill/tmain/withaczf/updatedb`, querys, params);
|
|
187
|
+
}
|
|
177
188
|
}
|
|
178
189
|
|
|
179
190
|
export default MainRequest;
|
package/packages/bill/types.ts
CHANGED
|
@@ -37,7 +37,7 @@ export interface IBillMainSelectd4Querys {
|
|
|
37
37
|
useronly: number;
|
|
38
38
|
unitmain: number;
|
|
39
39
|
yzhtmain: number;
|
|
40
|
-
|
|
40
|
+
withlock: number;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
export class TBillMainSelectd4Querys implements IBillMainSelectd4Querys {
|
|
@@ -46,7 +46,7 @@ export class TBillMainSelectd4Querys implements IBillMainSelectd4Querys {
|
|
|
46
46
|
useronly: number = -1;
|
|
47
47
|
unitmain: number = -1;
|
|
48
48
|
yzhtmain: number = -1;
|
|
49
|
-
|
|
49
|
+
withlock: number = -1;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
export interface IBillMainSelectd5Querys {
|
package/packages/yzht/types.ts
CHANGED
|
@@ -13,6 +13,9 @@ export interface IYzhtMainSelectdbQuerys {
|
|
|
13
13
|
datahide: number;
|
|
14
14
|
withcard: number;
|
|
15
15
|
withroom: number;
|
|
16
|
+
withd2dw: number;
|
|
17
|
+
withhyhb: number;
|
|
18
|
+
withfwcz: number;
|
|
16
19
|
queuesby: string;
|
|
17
20
|
}
|
|
18
21
|
|
|
@@ -30,6 +33,9 @@ export class TYzhtMainSelectdbQuerys implements IYzhtMainSelectdbQuerys {
|
|
|
30
33
|
datahide: number = -1;
|
|
31
34
|
withcard: number = -1;
|
|
32
35
|
withroom: number = -1;
|
|
36
|
+
withd2dw: number = -1;
|
|
37
|
+
withhyhb: number = -1;
|
|
38
|
+
withfwcz: number = -1;
|
|
33
39
|
queuesby: string = "";
|
|
34
40
|
}
|
|
35
41
|
|
|
@@ -99,9 +105,9 @@ export class TYzhtGlfdSelectfdQuerys implements IYzhtGlfdSelectfdQuerys {
|
|
|
99
105
|
unitmain: number = -1;
|
|
100
106
|
}
|
|
101
107
|
|
|
102
|
-
export interface IYzhtBillUpdated8Querys {}
|
|
108
|
+
export interface IYzhtBillUpdated8Querys { }
|
|
103
109
|
|
|
104
|
-
export class TYzhtBillUpdated8Querys implements IYzhtBillUpdated8Querys {}
|
|
110
|
+
export class TYzhtBillUpdated8Querys implements IYzhtBillUpdated8Querys { }
|
|
105
111
|
|
|
106
112
|
export interface IYzhtMainSelectd9Querys {
|
|
107
113
|
hzcbmain: number;
|