@ningboyz/apis 1.5.36 → 1.5.38
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/load/nsdw.ts +2 -2
- package/packages/load/types.ts +9 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.38",
|
|
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.38",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/load/nsdw.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { TLoad } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import { IEmptyQuerys } from "../type";
|
|
4
|
-
import { ILoadNsdwSelectd2Querys, ILoadNsdwSyncnsryQuerys } from "./types";
|
|
4
|
+
import { ILoadNsdwSelectd2Querys, ILoadNsdwSelectdcQuerys, ILoadNsdwSyncnsryQuerys } from "./types";
|
|
5
5
|
|
|
6
6
|
class NsdwRequest {
|
|
7
7
|
private httpRequest: HttpRequest;
|
|
@@ -15,7 +15,7 @@ class NsdwRequest {
|
|
|
15
15
|
* @param params
|
|
16
16
|
* @returns
|
|
17
17
|
*/
|
|
18
|
-
selectdc(querys:
|
|
18
|
+
selectdc(querys: ILoadNsdwSelectdcQuerys, params: object) {
|
|
19
19
|
return this.httpRequest.post<TLoad.TLoadNsdwResponse[]>("/gapi/load/nsdw/selectdc", querys, params);
|
|
20
20
|
}
|
|
21
21
|
|
package/packages/load/types.ts
CHANGED
|
@@ -60,6 +60,13 @@ export class TLoadCellSelectdcQuerys implements ILoadCellSelectdcQuerys {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
/** ========== nsdw ========== */
|
|
63
|
+
export interface ILoadNsdwSelectdcQuerys {
|
|
64
|
+
withlock: number;
|
|
65
|
+
}
|
|
66
|
+
export class TLoadNsdwSelectdcQuerys implements ILoadNsdwSelectdcQuerys {
|
|
67
|
+
withlock: number = -1;
|
|
68
|
+
}
|
|
69
|
+
|
|
63
70
|
export interface ILoadNsdwSelectd2Querys {
|
|
64
71
|
unitmain: number;
|
|
65
72
|
withlock: number;
|
|
@@ -78,9 +85,5 @@ export class TLoadNsdwSyncnsryQuerys implements ILoadNsdwSyncnsryQuerys {
|
|
|
78
85
|
unitmain: number = -1;
|
|
79
86
|
}
|
|
80
87
|
|
|
81
|
-
export interface ILoadZydwSelectdbQuerys{
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
export class TLoadZydwSelectdbQuerys implements ILoadZydwSelectdbQuerys{
|
|
85
|
-
|
|
86
|
-
}
|
|
88
|
+
export interface ILoadZydwSelectdbQuerys {}
|
|
89
|
+
export class TLoadZydwSelectdbQuerys implements ILoadZydwSelectdbQuerys {}
|