@ningboyz/apis 1.1.151 → 1.1.153
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/wzpz/k0km.ts +10 -1
- package/packages/wzpz/types.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.153",
|
|
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.1.
|
|
20
|
+
"@ningboyz/types": "1.1.153",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/wzpz/k0km.ts
CHANGED
|
@@ -37,6 +37,15 @@ class K0kmRequest {
|
|
|
37
37
|
return this.httpRequest.post<TWzpz.IWzpzK0kmResponse[]>("/gapi/wzpz/tk0km/selectdb", querys, undefined);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
/**
|
|
41
|
+
* 获取所有账套物资类别列表数据
|
|
42
|
+
* @param querys
|
|
43
|
+
* @returns
|
|
44
|
+
*/
|
|
45
|
+
selectdc(querys: IWzpzK0kmSelectdbQuerys) {
|
|
46
|
+
return this.httpRequest.post<TWzpz.IWzpzK0kmResponse[]>("/gapi/wzpz/tk0km/selectdc", querys, undefined);
|
|
47
|
+
}
|
|
48
|
+
|
|
40
49
|
/**
|
|
41
50
|
* 删除物资类别
|
|
42
51
|
* @param querys
|
|
@@ -44,7 +53,7 @@ class K0kmRequest {
|
|
|
44
53
|
* @returns
|
|
45
54
|
*/
|
|
46
55
|
deletedb(querys: IWzpzK0kmUpdatedbQuerys, params: object) {
|
|
47
|
-
return this.httpRequest.post<TWzpz.IWzpzK0kmResponse[]>("/gapi/wzpz/tk0km/
|
|
56
|
+
return this.httpRequest.post<TWzpz.IWzpzK0kmResponse[]>("/gapi/wzpz/tk0km/deletedb", querys, params);
|
|
48
57
|
}
|
|
49
58
|
}
|
|
50
59
|
|
package/packages/wzpz/types.ts
CHANGED
|
@@ -211,10 +211,14 @@ export class TWzpzK8kmDetaildbQuerys implements IWzpzK8kmDetaildbQuerys {
|
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
export interface IWzpzK8kmDeletedbQuerys {
|
|
214
|
+
sourcend: number;
|
|
215
|
+
sourceid: number;
|
|
214
216
|
chkexist: number;
|
|
215
217
|
}
|
|
216
218
|
|
|
217
219
|
export class TWzpzK8kmDeletedbQuerys implements IWzpzK8kmDeletedbQuerys {
|
|
220
|
+
sourcend: number = -1;
|
|
221
|
+
sourceid: number = -1;
|
|
218
222
|
chkexist: number = -1;
|
|
219
223
|
}
|
|
220
224
|
|