@ningboyz/apis 1.7.181 → 1.7.183
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/core/user.ts +1 -1
- package/packages/gzjg/bind.ts +2 -1
- package/packages/yzpz/item.ts +20 -1
- package/packages/yzpz/types.ts +12 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.183",
|
|
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.183",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/user.ts
CHANGED
|
@@ -972,7 +972,7 @@ class UserRequest {
|
|
|
972
972
|
|
|
973
973
|
//获取人社工资数据
|
|
974
974
|
get4rsData(querys: ICoreUserGet4RsDataQuerys, params: object) {
|
|
975
|
-
return this.httpRequest.post<TCore.
|
|
975
|
+
return this.httpRequest.post<TCore.INhtfDataResponse[]>("/gapi/nhtf/tdata/selectdb", querys, params);
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
978
|
|
package/packages/gzjg/bind.ts
CHANGED
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
TGzjgBindDetaildbQuerys,
|
|
12
12
|
TGzjgBindSelectdbQuerys
|
|
13
13
|
} from "./types";
|
|
14
|
+
import {IGzjgGzlmBindResponse} from "../../../types/src/gzjg";
|
|
14
15
|
|
|
15
16
|
class BindRequest {
|
|
16
17
|
private httpRequest: HttpRequest;
|
|
@@ -69,7 +70,7 @@ class BindRequest {
|
|
|
69
70
|
* @returns
|
|
70
71
|
*/
|
|
71
72
|
get4gzlm(querys: IGzjgBindGet4GzlmQuerys, params: object) {
|
|
72
|
-
return this.httpRequest.post<TGzjg.
|
|
73
|
+
return this.httpRequest.post<TGzjg.IGzjgGzlmBindResponse[]>("/gzjg/tgzlm/gzlmbind/selectdb", querys, params);
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
76
|
|
package/packages/yzpz/item.ts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import type { TYzpz } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
IYzpzItemDeletedbQuerys,
|
|
5
|
+
IYzpzItemDetaildbQuerys,
|
|
6
|
+
IYzpzItemInsertdbQuerys,
|
|
7
|
+
IYzpzItemQueuesdbQuerys,
|
|
8
|
+
IYzpzItemSelectdbQuerys,
|
|
9
|
+
IYzpzItemUpdatedbQuerys,
|
|
10
|
+
IYzpzItemUploadd2Querys,
|
|
11
|
+
IYzpzItemUploaddbQuerys
|
|
12
|
+
} from "./types";
|
|
4
13
|
|
|
5
14
|
class ItemRequest {
|
|
6
15
|
private httpRequest: HttpRequest;
|
|
@@ -66,6 +75,16 @@ class ItemRequest {
|
|
|
66
75
|
return this.httpRequest.post<TYzpz.IYzpzItemResponse[]>("/gapi/yzpz/titem/uploaddb", querys, params);
|
|
67
76
|
}
|
|
68
77
|
|
|
78
|
+
/**
|
|
79
|
+
* 批量新增
|
|
80
|
+
* @param querys
|
|
81
|
+
* @param params
|
|
82
|
+
* @returns
|
|
83
|
+
*/
|
|
84
|
+
uploadd2(querys: IYzpzItemUploadd2Querys, params: object) {
|
|
85
|
+
return this.httpRequest.post<TYzpz.IYzpzItemResponse[]>("/gapi/yzpz/titem/uploadd2", querys, params);
|
|
86
|
+
}
|
|
87
|
+
|
|
69
88
|
/**
|
|
70
89
|
* 排序
|
|
71
90
|
* @param querys
|
package/packages/yzpz/types.ts
CHANGED
|
@@ -322,8 +322,18 @@ export class TYzpzItemUploaddbQuerys implements IYzpzItemUploaddbQuerys {
|
|
|
322
322
|
typemain: number = -1;
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
-
export interface
|
|
325
|
+
export interface IYzpzItemUploadd2Querys {
|
|
326
|
+
sourcend: number;
|
|
327
|
+
sourceid: number;
|
|
328
|
+
typemain: number;
|
|
326
329
|
}
|
|
327
330
|
|
|
328
|
-
export class
|
|
331
|
+
export class TYzpzItemUploadd2Querys implements IYzpzItemUploadd2Querys {
|
|
332
|
+
sourcend: number = -1;
|
|
333
|
+
sourceid: number = -1;
|
|
334
|
+
typemain: number = -1;
|
|
329
335
|
}
|
|
336
|
+
|
|
337
|
+
export interface IYzpzItemQueuesdbQuerys {}
|
|
338
|
+
|
|
339
|
+
export class TYzpzItemQueuesdbQuerys implements IYzpzItemQueuesdbQuerys {}
|