@ningboyz/apis 1.6.12 → 1.6.14

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.6.12",
3
+ "version": "1.6.14",
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.6.12",
20
+ "@ningboyz/types": "1.6.14",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1047,3 +1047,6 @@ export interface ICoreUserGet4UnitQuerys {
1047
1047
  export class TCoreUserGet4UnitQuerys implements ICoreUserGet4UnitQuerys {
1048
1048
  usrpartc: number = -1;
1049
1049
  }
1050
+
1051
+ export interface ICoreUserUpdatedbBatchQuerys {}
1052
+ export class TCoreUserUpdatedbBatchQuerys implements ICoreUserUpdatedbBatchQuerys {}
@@ -46,7 +46,8 @@ import {
46
46
  ICoreUserUpdatedbStatQuerys,
47
47
  ICoreUserUpdateonQuerys,
48
48
  ICoreUserGet4UnitQuerys,
49
- ICoreUserListUnitdbQuerys
49
+ ICoreUserListUnitdbQuerys,
50
+ ICoreUserUpdatedbBatchQuerys
50
51
  } from "./types";
51
52
 
52
53
  class UserRequest {
@@ -614,6 +615,11 @@ class UserRequest {
614
615
  updateon(querys: ICoreUserUpdateonQuerys, params: object) {
615
616
  return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/updateon/uploaddb", querys, params);
616
617
  }
618
+
619
+ /**批量修改 */
620
+ updatedbBatch(querys: ICoreUserUpdatedbBatchQuerys, params: object) {
621
+ return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/updatedb/uploaddb", querys, params);
622
+ }
617
623
  }
618
624
 
619
625
  export default UserRequest;
@@ -1,6 +1,6 @@
1
1
  import type { TWzpz } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { IWzpzTypeDetaildbQuerys, IWzpzTypeSelctdbQuerys } from "./types";
3
+ import { IWzpzTypeDetaildbQuerys, IWzpzTypeInsertdbQuerys, IWzpzTypeSelctdbQuerys, IWzpzTypeUpdatedbQuerys } from "./types";
4
4
 
5
5
  class TypeRequest {
6
6
  private httpRequest: HttpRequest;
@@ -13,8 +13,8 @@ class TypeRequest {
13
13
  * @param params
14
14
  * @returns
15
15
  */
16
- insertdb(params: object) {
17
- return this.httpRequest.post<TWzpz.IWzpzTypeResponse[]>("/gapi/wzpz/ttype/insertdb", undefined, params);
16
+ insertdb(querys: IWzpzTypeInsertdbQuerys, params: object) {
17
+ return this.httpRequest.post<TWzpz.IWzpzTypeResponse[]>("/gapi/wzpz/ttype/insertdb", querys, params);
18
18
  }
19
19
 
20
20
  /**
@@ -22,8 +22,8 @@ class TypeRequest {
22
22
  * @param params
23
23
  * @returns
24
24
  */
25
- updatedb(params: object) {
26
- return this.httpRequest.post<TWzpz.IWzpzTypeResponse[]>("/gapi/wzpz/ttype/updatedb", undefined, params);
25
+ updatedb(querys: IWzpzTypeUpdatedbQuerys, params: object) {
26
+ return this.httpRequest.post<TWzpz.IWzpzTypeResponse[]>("/gapi/wzpz/ttype/updatedb", querys, params);
27
27
  }
28
28
 
29
29
  /**
@@ -49,7 +49,7 @@ class TypeRequest {
49
49
  * @param params
50
50
  * @returns
51
51
  */
52
- deletedb(params: object) {
52
+ deletedb(querys: IWzpzTypeDeletedbQuerys, params: object) {
53
53
  return this.httpRequest.post<TWzpz.IWzpzTypeResponse[]>("/gapi/wzpz/ttype/deletedb", undefined, params);
54
54
  }
55
55
  }
@@ -46,6 +46,34 @@ export class TWzpzTypeDetaildbQuerys implements IWzpzTypeDetaildbQuerys {
46
46
  typemain: number = -1;
47
47
  }
48
48
 
49
+ export interface IWzpzTypeDeletedbQuerys {
50
+ sourcend: number;
51
+ sourceid: number;
52
+ }
53
+ export class TWzpzTypeDeletedbQuerys implements IWzpzTypeDeletedbQuerys {
54
+ sourcend: number = -1;
55
+ sourceid: number = -1;
56
+ }
57
+
58
+ export interface IWzpzTypeUpdatedbQuerys {
59
+ sourcend: number;
60
+ sourceid: number;
61
+ }
62
+
63
+ export interface IWzpzTypeInsertdbQuerys {
64
+ sourcend: number;
65
+ sourceid: number;
66
+ }
67
+ export class TWzpzTypeInsertdbQuerys implements IWzpzTypeInsertdbQuerys {
68
+ sourcend: number = -1;
69
+ sourceid: number = -1;
70
+ }
71
+
72
+ export class TWzpzTypeUpdatedbQuerys implements IWzpzTypeUpdatedbQuerys {
73
+ sourcend: number = -1;
74
+ sourceid: number = -1;
75
+ }
76
+
49
77
  export interface IWzpzItemInsertdbQuerys {
50
78
  sourcend: number;
51
79
  sourceid: number;