@ningboyz/apis 1.3.11 → 1.3.12
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/yzht/main.ts +4 -2
- package/packages/yzht/types.ts +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.12",
|
|
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.3.
|
|
20
|
+
"@ningboyz/types": "1.3.12",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/yzht/main.ts
CHANGED
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
IYzhtMainExecute2Querys,
|
|
12
12
|
IYzhtMainExecutedQuerys,
|
|
13
13
|
IYzhtMainFinishedQuerys,
|
|
14
|
+
IYzhtMainInsertdbQuerys,
|
|
14
15
|
IYzhtMainSelectd9Querys,
|
|
15
16
|
IYzhtMainSelectdbQuerys
|
|
16
17
|
} from "./types";
|
|
@@ -33,11 +34,12 @@ class YzhtRequest {
|
|
|
33
34
|
|
|
34
35
|
/**
|
|
35
36
|
* 新增合同订立
|
|
37
|
+
* @param querys
|
|
36
38
|
* @param params
|
|
37
39
|
* @returns
|
|
38
40
|
*/
|
|
39
|
-
insertdb(params: object) {
|
|
40
|
-
return this.httpRequest.post<TYzht.IYzhtMainResponse[]>("/gapi/yzht/tmain/insertdb",
|
|
41
|
+
insertdb(querys: IYzhtMainInsertdbQuerys, params: object) {
|
|
42
|
+
return this.httpRequest.post<TYzht.IYzhtMainResponse[]>("/gapi/yzht/tmain/insertdb", querys, params);
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
/**
|
package/packages/yzht/types.ts
CHANGED
|
@@ -27,6 +27,22 @@ export class TYzhtMainSelectdbQuerys implements IYzhtMainSelectdbQuerys {
|
|
|
27
27
|
queuesby: string = "";
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
export interface IYzhtMainInsertdbQuerys {
|
|
31
|
+
sourcend: number;
|
|
32
|
+
usesgams: number;
|
|
33
|
+
autohtbh: number;
|
|
34
|
+
datahide: number;
|
|
35
|
+
yzhthtbh: number;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export class TYzhtMainInsertdbQuerys implements IYzhtMainInsertdbQuerys {
|
|
39
|
+
sourcend: number = -1;
|
|
40
|
+
usesgams: number = -1;
|
|
41
|
+
autohtbh: number = -1;
|
|
42
|
+
datahide: number = -1;
|
|
43
|
+
yzhthtbh: number = -1;
|
|
44
|
+
}
|
|
45
|
+
|
|
30
46
|
export interface IYzhtMainDeletedbQuerys {
|
|
31
47
|
datahide: number; //1:表示作废;
|
|
32
48
|
}
|