@ningboyz/apis 1.5.88 → 1.5.89
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 +52 -0
- package/packages/bill/types.ts +69 -23
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.89",
|
|
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.89",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/bill/main.ts
CHANGED
|
@@ -6,8 +6,12 @@ import {
|
|
|
6
6
|
IBillMainChkexistQuerys,
|
|
7
7
|
IBillMainClosedbQuerys,
|
|
8
8
|
IBillMainDeletedbQuerys,
|
|
9
|
+
IBillMainDetaild2Querys,
|
|
10
|
+
IBillMainDetaild3Querys,
|
|
9
11
|
IBillMainDetaildbQuerys,
|
|
10
12
|
IBillMainInsertdbQuerys,
|
|
13
|
+
IBillMainSelectd4Querys,
|
|
14
|
+
IBillMainSelectd5Querys,
|
|
11
15
|
IBillMainSelectdbQuerys,
|
|
12
16
|
IBillMainUpdatedbQuerys
|
|
13
17
|
} from "./types";
|
|
@@ -84,6 +88,54 @@ class MainRequest {
|
|
|
84
88
|
return this.httpRequest.post<TBill.IBillMainResponse[]>("/gapi/bill/tmain/finished");
|
|
85
89
|
}
|
|
86
90
|
|
|
91
|
+
/**
|
|
92
|
+
* 查询账单
|
|
93
|
+
* @param querys
|
|
94
|
+
* @param params
|
|
95
|
+
* @returns
|
|
96
|
+
*/
|
|
97
|
+
selectd4(querys: IBillMainSelectd4Querys, params: object) {
|
|
98
|
+
return this.httpRequest.post<TBill.IBillMainResponse[]>("/gapi/bill/tmain/selectdb", querys, params);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* 查询流水
|
|
103
|
+
* @param querys
|
|
104
|
+
* @param params
|
|
105
|
+
* @returns
|
|
106
|
+
*/
|
|
107
|
+
selectd5(querys: IBillMainSelectd5Querys, params: object) {
|
|
108
|
+
return this.httpRequest.post<TBill.IBillMainResponse[]>("/gapi/bill/tmain/selectdb", querys, params);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* 获取流水已办
|
|
113
|
+
* @returns
|
|
114
|
+
*/
|
|
115
|
+
finishe2() {
|
|
116
|
+
return this.httpRequest.post<TBill.IBillMainResponse[]>("/gapi/bill/tmain/finishe2");
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* 账单详情
|
|
121
|
+
* @param querys
|
|
122
|
+
* @param params
|
|
123
|
+
* @returns
|
|
124
|
+
*/
|
|
125
|
+
detaild2(querys: IBillMainDetaild2Querys, params: object) {
|
|
126
|
+
return this.httpRequest.post<TBill.IBillMainResponse[]>("/gapi/bill/tmain/detaild2", querys, params);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* 流水详情
|
|
131
|
+
* @param querys
|
|
132
|
+
* @param params
|
|
133
|
+
* @returns
|
|
134
|
+
*/
|
|
135
|
+
detaild3(querys: IBillMainDetaild3Querys, params: object) {
|
|
136
|
+
return this.httpRequest.post<TBill.IBillMainResponse[]>("/gapi/bill/tmain/detaild3", querys, params);
|
|
137
|
+
}
|
|
138
|
+
|
|
87
139
|
/**
|
|
88
140
|
* 票据保存判断
|
|
89
141
|
* @param querys
|
package/packages/bill/types.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface IBillMainInsertdbQuerys {}
|
|
2
|
-
export class TBillMainInsertdbQuerys implements IBillMainInsertdbQuerys {}
|
|
1
|
+
export interface IBillMainInsertdbQuerys { }
|
|
2
|
+
export class TBillMainInsertdbQuerys implements IBillMainInsertdbQuerys { }
|
|
3
3
|
|
|
4
|
-
export interface IBillMainUpdatedbQuerys {}
|
|
5
|
-
export class TBillMainUpdatedbQuerys implements IBillMainUpdatedbQuerys {}
|
|
4
|
+
export interface IBillMainUpdatedbQuerys { }
|
|
5
|
+
export class TBillMainUpdatedbQuerys implements IBillMainUpdatedbQuerys { }
|
|
6
6
|
|
|
7
7
|
export interface IBillMainDetaildbQuerys {
|
|
8
8
|
billmain: number;
|
|
@@ -12,8 +12,8 @@ export class TBillMainDetaildbQuerys implements IBillMainDetaildbQuerys {
|
|
|
12
12
|
billmain: number = -1;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
export interface IBillMainDeletedbQuerys {}
|
|
16
|
-
export class TBillMainDeletedbQuerys implements IBillMainDeletedbQuerys {}
|
|
15
|
+
export interface IBillMainDeletedbQuerys { }
|
|
16
|
+
export class TBillMainDeletedbQuerys implements IBillMainDeletedbQuerys { }
|
|
17
17
|
|
|
18
18
|
export interface IBillMainSelectdbQuerys {
|
|
19
19
|
sourcend: number;
|
|
@@ -21,7 +21,6 @@ export interface IBillMainSelectdbQuerys {
|
|
|
21
21
|
viewonly: number;
|
|
22
22
|
useronly: number;
|
|
23
23
|
unitmain: number;
|
|
24
|
-
yzhtmain: number;
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
export class TBillMainSelectdbQuerys implements IBillMainSelectdbQuerys {
|
|
@@ -30,14 +29,61 @@ export class TBillMainSelectdbQuerys implements IBillMainSelectdbQuerys {
|
|
|
30
29
|
viewonly: number = -1;
|
|
31
30
|
useronly: number = -1;
|
|
32
31
|
unitmain: number = -1;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface IBillMainSelectd4Querys {
|
|
35
|
+
sourcend: number;
|
|
36
|
+
viewonly: number;
|
|
37
|
+
useronly: number;
|
|
38
|
+
unitmain: number;
|
|
39
|
+
yzhtmain: number;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export class TBillMainSelectd4Querys implements IBillMainSelectd4Querys {
|
|
43
|
+
sourcend: number = -1;
|
|
44
|
+
viewonly: number = -1;
|
|
45
|
+
useronly: number = -1;
|
|
46
|
+
unitmain: number = -1;
|
|
33
47
|
yzhtmain: number = -1;
|
|
34
48
|
}
|
|
35
49
|
|
|
36
|
-
export interface
|
|
37
|
-
|
|
50
|
+
export interface IBillMainSelectd5Querys {
|
|
51
|
+
sourcend: number;
|
|
52
|
+
withflow: number;
|
|
53
|
+
viewonly: number;
|
|
54
|
+
useronly: number;
|
|
55
|
+
unitmain: number;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export class TBillMainSelectd5Querys implements IBillMainSelectd5Querys {
|
|
59
|
+
sourcend: number = -1;
|
|
60
|
+
withflow: number = -1;
|
|
61
|
+
viewonly: number = -1;
|
|
62
|
+
useronly: number = -1;
|
|
63
|
+
unitmain: number = -1;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export interface IBillMainDetaild2Querys {
|
|
67
|
+
billmain: number;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export class TBillMainDetaild2Querys implements IBillMainDetaild2Querys {
|
|
71
|
+
billmain: number = -1;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface IBillMainDetaild3Querys {
|
|
75
|
+
billmain: number;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export class TBillMainDetaild3Querys implements IBillMainDetaild3Querys {
|
|
79
|
+
billmain: number = -1;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export interface IBillCnfgInsertdbQuerys { }
|
|
83
|
+
export class TBillCnfgInsertdbQuerys implements IBillCnfgInsertdbQuerys { }
|
|
38
84
|
|
|
39
|
-
export interface IBillCnfgUpdatedbQuerys {}
|
|
40
|
-
export class TBillCnfgUpdatedbQuerys implements IBillCnfgUpdatedbQuerys {}
|
|
85
|
+
export interface IBillCnfgUpdatedbQuerys { }
|
|
86
|
+
export class TBillCnfgUpdatedbQuerys implements IBillCnfgUpdatedbQuerys { }
|
|
41
87
|
|
|
42
88
|
export interface IBillCnfgDetaildbQuerys {
|
|
43
89
|
cnfgmain: number;
|
|
@@ -47,20 +93,20 @@ export class TBillCnfgDetaildbQuerys implements IBillCnfgDetaildbQuerys {
|
|
|
47
93
|
cnfgmain: number = -1;
|
|
48
94
|
}
|
|
49
95
|
|
|
50
|
-
export interface IBillCnfgDeletedbQuerys {}
|
|
51
|
-
export class TBillCnfgDeletedbQuerys implements IBillCnfgDeletedbQuerys {}
|
|
96
|
+
export interface IBillCnfgDeletedbQuerys { }
|
|
97
|
+
export class TBillCnfgDeletedbQuerys implements IBillCnfgDeletedbQuerys { }
|
|
52
98
|
|
|
53
|
-
export interface IBillCnfgSelectdbQuerys {}
|
|
54
|
-
export class TBillCnfgSelectdbQuerys implements IBillCnfgSelectdbQuerys {}
|
|
99
|
+
export interface IBillCnfgSelectdbQuerys { }
|
|
100
|
+
export class TBillCnfgSelectdbQuerys implements IBillCnfgSelectdbQuerys { }
|
|
55
101
|
|
|
56
|
-
export interface IBillCnfgSelectd2Querys {}
|
|
57
|
-
export class TBillCnfgSelectd2Querys implements IBillCnfgSelectd2Querys {}
|
|
102
|
+
export interface IBillCnfgSelectd2Querys { }
|
|
103
|
+
export class TBillCnfgSelectd2Querys implements IBillCnfgSelectd2Querys { }
|
|
58
104
|
|
|
59
|
-
export interface IBillMainChkexistQuerys {}
|
|
60
|
-
export class TBillMainChkexistQuerys implements IBillMainChkexistQuerys {}
|
|
105
|
+
export interface IBillMainChkexistQuerys { }
|
|
106
|
+
export class TBillMainChkexistQuerys implements IBillMainChkexistQuerys { }
|
|
61
107
|
|
|
62
|
-
export interface IBillMainChkexis2Querys {}
|
|
63
|
-
export class TBillMainChkexis2Querys implements IBillMainChkexis2Querys {}
|
|
108
|
+
export interface IBillMainChkexis2Querys { }
|
|
109
|
+
export class TBillMainChkexis2Querys implements IBillMainChkexis2Querys { }
|
|
64
110
|
|
|
65
111
|
export interface IBillMainClosedbQuerys {
|
|
66
112
|
/** 关闭类型:0:手工;1:系统 */
|
|
@@ -76,5 +122,5 @@ export class TBillMainClosedbQuerys implements IBillMainClosedbQuerys {
|
|
|
76
122
|
canclose: number = -1;
|
|
77
123
|
}
|
|
78
124
|
|
|
79
|
-
export interface IBillMainCalculateQuerys {}
|
|
80
|
-
export class TBillMainCalculateQuerys implements IBillMainCalculateQuerys {}
|
|
125
|
+
export interface IBillMainCalculateQuerys { }
|
|
126
|
+
export class TBillMainCalculateQuerys implements IBillMainCalculateQuerys { }
|