@ningboyz/apis 1.7.176 → 1.7.178
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.178",
|
|
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.178",
|
|
21
21
|
"axios": "1.8.4",
|
|
22
22
|
"lodash": "^4.17.21"
|
|
23
23
|
},
|
package/packages/core/types.ts
CHANGED
|
@@ -1583,3 +1583,11 @@ export class TCoreUserUsrpartcSet4unitQuerys implements ICoreUserUsrpartcSet4uni
|
|
|
1583
1583
|
export interface ICoreUserGet4RsQuerys {}
|
|
1584
1584
|
|
|
1585
1585
|
export class TCoreUserGet4RsQuerys implements ICoreUserGet4RsQuerys {}
|
|
1586
|
+
|
|
1587
|
+
export interface ICoreUnitLoadSelectdbQuerys{
|
|
1588
|
+
unitmain: number;
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
export class TCoreUnitLoadSelectdbQuerys implements ICoreUnitLoadSelectdbQuerys{
|
|
1592
|
+
unitmain: number = -1;
|
|
1593
|
+
}
|
package/packages/core/unit.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TCore } from "@ningboyz/types";
|
|
1
|
+
import { TCore, TLoad } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import { IEmptyQuerys, IParams } from "../type";
|
|
4
4
|
import {
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
ICoreUnitDeletePathQuerys,
|
|
7
7
|
ICoreUnitDetaildbQuerys,
|
|
8
8
|
ICoreUnitGet4UnitQuerys,
|
|
9
|
+
ICoreUnitLoadSelectdbQuerys,
|
|
9
10
|
ICoreUnitSelectdbQuerys,
|
|
10
11
|
ICoreUnitUpdateUnitCodeQuerys,
|
|
11
12
|
ICoreUnitUploadd5Querys,
|
|
@@ -162,6 +163,12 @@ class UnitRequest {
|
|
|
162
163
|
usersizeSelectdb(querys: ICoreUnitUsersizeSelectdbQuerys, params: object) {
|
|
163
164
|
return this.httpRequest.post<TCore.IUserResponse[]>("/core/tunit/usersize/selectdb", querys, params);
|
|
164
165
|
}
|
|
166
|
+
|
|
167
|
+
/**获取单位关联浙政钉单位 */
|
|
168
|
+
unitLoadSelectdb(querys: ICoreUnitLoadSelectdbQuerys, params: object){
|
|
169
|
+
return this.httpRequest.post<TLoad.IUnitLoadResponse[]>("/core/tunit/unitload/selectdb", querys, params);
|
|
170
|
+
}
|
|
171
|
+
|
|
165
172
|
}
|
|
166
173
|
|
|
167
174
|
export default UnitRequest;
|
package/packages/gzjg/bind.ts
CHANGED
|
@@ -4,8 +4,11 @@ import {
|
|
|
4
4
|
IGzjgBindDetaildbQuerys,
|
|
5
5
|
IGzjgBindInsertdbQuerys,
|
|
6
6
|
IGzjgBindSelectdbQuerys,
|
|
7
|
+
IGzjgBindUpdatedbQuerys,
|
|
7
8
|
IGzjgMainDetaildbQuerys,
|
|
8
|
-
IGzjgMainSelectdbQuerys,
|
|
9
|
+
IGzjgMainSelectdbQuerys,
|
|
10
|
+
TGzjgBindDeletedbQuerys,
|
|
11
|
+
TGzjgBindDetaildbQuerys,
|
|
9
12
|
TGzjgBindSelectdbQuerys
|
|
10
13
|
} from "./types";
|
|
11
14
|
|
|
@@ -38,7 +41,7 @@ class BindRequest {
|
|
|
38
41
|
* @param params
|
|
39
42
|
* @returns
|
|
40
43
|
*/
|
|
41
|
-
updatedb(querys:
|
|
44
|
+
updatedb(querys: IGzjgBindUpdatedbQuerys, params: object) {
|
|
42
45
|
return this.httpRequest.post<TGzjg.IGzjgBindResponse[]>("/gzjg/tmain/gzjgbind/updatedb", querys, params);
|
|
43
46
|
}
|
|
44
47
|
|