@ningboyz/apis 1.5.49 → 1.5.50
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/noti/main.ts +11 -1
- package/packages/noti/types.ts +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.50",
|
|
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.50",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/noti/main.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TNoti } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import { IEmptyQuerys } from "../type";
|
|
4
|
-
import { INotiMainAuditd2WithscczQuerys, INotiMainAuditd3WithscczQuerys, INotiMainDetaildbQuerys, INotiMainDetaildbWithscczQuerys, INotiMainFinishedQuerys, INotiMainFinishedWithscczQuerys, INotiMainGet4NotiQuerys, INotiMainInsertdb1Querys, INotiMainNextNodeWithscczQuerys, INotiMainReadplusQuerys, INotiMainSelectdbQuerys, INotiMainSelectdbWithscczQuerys } from "./types";
|
|
4
|
+
import { INotiMainAuditd2WithscczQuerys, INotiMainAuditd3WithscczQuerys, INotiMainDetaildbQuerys, INotiMainDetaildbWithscczQuerys, INotiMainFinishedQuerys, INotiMainFinishedWithscczQuerys, INotiMainGet4NotiQuerys, INotiMainGet4NotiWithscczQuerys, INotiMainInsertdb1Querys, INotiMainNextNodeWithscczQuerys, INotiMainReadplusQuerys, INotiMainSelectdbQuerys, INotiMainSelectdbWithscczQuerys } from "./types";
|
|
5
5
|
|
|
6
6
|
class ParaRequest {
|
|
7
7
|
private httpRequest: HttpRequest;
|
|
@@ -208,6 +208,16 @@ class ParaRequest {
|
|
|
208
208
|
nextnodewithsccz(querys: INotiMainNextNodeWithscczQuerys, params: object) {
|
|
209
209
|
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/nextnode", querys, params);
|
|
210
210
|
}
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* 获取主单
|
|
214
|
+
* @param querys
|
|
215
|
+
* @param params
|
|
216
|
+
* @returns
|
|
217
|
+
*/
|
|
218
|
+
get4notiwithsccz(querys: INotiMainGet4NotiWithscczQuerys, params: object) {
|
|
219
|
+
return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/get4noti", querys, params);
|
|
220
|
+
}
|
|
211
221
|
}
|
|
212
222
|
|
|
213
223
|
export default ParaRequest;
|
package/packages/noti/types.ts
CHANGED
|
@@ -151,3 +151,11 @@ export interface INotiMainNextNodeWithscczQuerys {
|
|
|
151
151
|
export class TNotiMainNextNodeWithscczQuerys implements INotiMainNextNodeWithscczQuerys {
|
|
152
152
|
useruuid: string = "";
|
|
153
153
|
}
|
|
154
|
+
|
|
155
|
+
export interface INotiMainGet4NotiWithscczQuerys {
|
|
156
|
+
notimain: number;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export class TNotiMainGet4NotiWithscczQuerys implements INotiMainGet4NotiWithscczQuerys {
|
|
160
|
+
notimain: number = -1;
|
|
161
|
+
}
|