@ningboyz/apis 1.5.183 → 1.5.185
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/tabl/main.ts +6 -0
- package/packages/tabl/types.ts +14 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.185",
|
|
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.185",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/tabl/main.ts
CHANGED
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ITablMainGet5formulaQuerys,
|
|
13
13
|
ITablMainInsertdbQuerys,
|
|
14
14
|
ITablMainSelectcxQuerys,
|
|
15
|
+
ITablMainTablstatUpdatedbQuerys,
|
|
15
16
|
ITablMainUpdatedbQuerys,
|
|
16
17
|
TTablMainSelectdbQuerys
|
|
17
18
|
} from "./types";
|
|
@@ -179,6 +180,11 @@ class MainRequest {
|
|
|
179
180
|
get5formula(querys: ITablMainGet5formulaQuerys, params: object) {
|
|
180
181
|
return this.httpRequest.post<TTabl.ITablDataResponse[]>("/tabl/tmain/get5formula", querys, params);
|
|
181
182
|
}
|
|
183
|
+
|
|
184
|
+
// 批量修改状态
|
|
185
|
+
tablstatUpdatedb(querys: ITablMainTablstatUpdatedbQuerys, params: object) {
|
|
186
|
+
return this.httpRequest.post<TTabl.ITablDataResponse[]>("/tabl/tmain/tablstat/updatedb", querys, params);
|
|
187
|
+
}
|
|
182
188
|
}
|
|
183
189
|
|
|
184
190
|
export default MainRequest;
|
package/packages/tabl/types.ts
CHANGED
|
@@ -174,3 +174,17 @@ export interface ITablMainUpdatedbQuerys {
|
|
|
174
174
|
export class TTablMainUpdatedbQuerys implements ITablMainUpdatedbQuerys {
|
|
175
175
|
recreate: number = -1;
|
|
176
176
|
}
|
|
177
|
+
|
|
178
|
+
export interface ITablMainTablstatUpdatedbQuerys {
|
|
179
|
+
unitmain: number;
|
|
180
|
+
gztbmain: number;
|
|
181
|
+
tablmode: number;
|
|
182
|
+
tablstat: number;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export class TTablMainTablstatUpdatedbQuerys implements ITablMainTablstatUpdatedbQuerys {
|
|
186
|
+
unitmain: number = -1;
|
|
187
|
+
gztbmain: number = -1;
|
|
188
|
+
tablmode: number = -1;
|
|
189
|
+
tablstat: number = -1;
|
|
190
|
+
}
|