@ningboyz/apis 1.7.194 → 1.7.195
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/yzpz/k8km.ts +21 -1
- package/packages/yzpz/types.ts +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.195",
|
|
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.7.
|
|
20
|
+
"@ningboyz/types": "1.7.195",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/yzpz/k8km.ts
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import type { TYzpz } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
IYzpzK8kmDeletedbQuerys,
|
|
5
|
+
IYzpzK8kmDetaild2Querys,
|
|
6
|
+
IYzpzK8kmDetaildbQuerys,
|
|
7
|
+
IYzpzK8kmInsertdbQuerys,
|
|
8
|
+
IYzpzK8kmSelectd4Querys,
|
|
9
|
+
IYzpzK8kmSelectdbQuerys,
|
|
10
|
+
IYzpzK8kmUpdated4Querys,
|
|
11
|
+
IYzpzK8kmUpdatedbQuerys,
|
|
12
|
+
IYzpzK8kmUploaddbQuerys
|
|
13
|
+
} from "./types";
|
|
4
14
|
|
|
5
15
|
class K8kmRequest {
|
|
6
16
|
private httpRequest: HttpRequest;
|
|
@@ -28,6 +38,16 @@ class K8kmRequest {
|
|
|
28
38
|
return this.httpRequest.post<TYzpz.IYzpzK8kmResponse[]>("/gapi/yzpz/tk8km/updatedb", querys, params);
|
|
29
39
|
}
|
|
30
40
|
|
|
41
|
+
/**
|
|
42
|
+
* 批量导入预算科目
|
|
43
|
+
* @param querys
|
|
44
|
+
* @param params
|
|
45
|
+
* @returns
|
|
46
|
+
*/
|
|
47
|
+
uploaddb(querys: IYzpzK8kmUploaddbQuerys, params: object) {
|
|
48
|
+
return this.httpRequest.post<TYzpz.IYzpzK8kmResponse[]>("/gapi/yzpz/tk8km/uploaddb", querys, params);
|
|
49
|
+
}
|
|
50
|
+
|
|
31
51
|
/**
|
|
32
52
|
* 修改预算科目
|
|
33
53
|
* @param querys
|
package/packages/yzpz/types.ts
CHANGED
|
@@ -198,6 +198,15 @@ export class TYzpzK8kmUpdatedbQuerys implements IYzpzK8kmUpdatedbQuerys {
|
|
|
198
198
|
sourceid: number = -1;
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
+
export interface IYzpzK8kmUploaddbQuerys {
|
|
202
|
+
sourcend: number;
|
|
203
|
+
sourceid: number;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export class TYzpzK8kmUploaddbQuerys implements IYzpzK8kmUploaddbQuerys {
|
|
207
|
+
sourcend: number = -1;
|
|
208
|
+
sourceid: number = -1;
|
|
209
|
+
}
|
|
201
210
|
export interface IYzpzK8kmUpdated4Querys {
|
|
202
211
|
sourcend: number;
|
|
203
212
|
sourceid: number;
|