@ningboyz/apis 1.7.44 → 1.7.46

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.44",
3
+ "version": "1.7.46",
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.44",
20
+ "@ningboyz/types": "1.7.46",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,4 +1,4 @@
1
- import {TCore, TGzjg, TGzzd} from "@ningboyz/types";
1
+ import { TCore, TGzjg, TGzzd } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
3
  import {
4
4
  IGzzdMainDetaildbQuerys,
@@ -15,7 +15,9 @@ import {
15
15
  TGzzdMainDetaild2Querys,
16
16
  IGzzdMainSet4userQuerys,
17
17
  IGzzdMainDel4userQuerys,
18
- IGzzdMainGet4userQuerys
18
+ IGzzdMainGet4userQuerys,
19
+ IGzzdMainUpdatedbAcnoQuerys,
20
+ IGzzdMainStopUpdateDbAcnoQuerys
19
21
  } from "./types";
20
22
 
21
23
  class ParaRequest {
@@ -198,6 +200,26 @@ class ParaRequest {
198
200
  get4user(querys: IGzzdMainGet4userQuerys, params: object) {
199
201
  return this.httpRequest.post<TCore.IUserResponse[]>("/gapi/gzzd/tmain/get4user", querys, params);
200
202
  }
203
+
204
+ /**
205
+ * 更新银行账号
206
+ * @param querys
207
+ * @param params
208
+ * @returns
209
+ */
210
+ updatedbAcno(querys: IGzzdMainUpdatedbAcnoQuerys, params: object) {
211
+ return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gzzd/tmain/acnomain/updatedb", querys, params);
212
+ }
213
+
214
+ /**
215
+ * 停用银行账号
216
+ * @param querys
217
+ * @param params
218
+ * @returns
219
+ */
220
+ stopUpdateDbAcno(querys: IGzzdMainStopUpdateDbAcnoQuerys, params: object) {
221
+ return this.httpRequest.post<TGzzd.IGzzdMainResponse[]>("/gapi/gzzd/tmain/acnomain/deletedb", querys, params);
222
+ }
201
223
  }
202
224
 
203
225
  export default ParaRequest;
@@ -68,11 +68,9 @@ export class TGzzdMainWithgzjgQuerys implements IGzzdMainWithgzjgQuerys {
68
68
  acnotype: number = -1;
69
69
  }
70
70
 
71
- export interface IGzzdMainGet2formulaQuerys {
72
- }
71
+ export interface IGzzdMainGet2formulaQuerys {}
73
72
 
74
- export class TGzzdMainGet2formulaQuerys implements IGzzdMainGet2formulaQuerys {
75
- }
73
+ export class TGzzdMainGet2formulaQuerys implements IGzzdMainGet2formulaQuerys {}
76
74
 
77
75
  export interface IGzzdMainGet4gzlmQuerys {
78
76
  gzzdmain: number;
@@ -138,3 +136,21 @@ export interface IGzzdMainGet5BillWithZwlxQuerys {
138
136
  export class TGzzdMainGet5BillWithZwlxQuerys implements IGzzdMainGet5BillWithZwlxQuerys {
139
137
  gzzdmain: number = -1;
140
138
  }
139
+
140
+ export interface IGzzdMainUpdatedbAcnoQuerys {
141
+ usermain: number;
142
+ gzzdstat: number;
143
+ }
144
+
145
+ export class TGzzdMainUpdatedbAcnoQuerys implements IGzzdMainUpdatedbAcnoQuerys {
146
+ usermain: number = -1;
147
+ gzzdstat: number = -1;
148
+ }
149
+
150
+ export interface IGzzdMainStopUpdateDbAcnoQuerys {
151
+ usermain: number;
152
+ }
153
+
154
+ export class TGzzdMainStopUpdateDbAcnoQuerys implements IGzzdMainStopUpdateDbAcnoQuerys {
155
+ usermain: number = -1;
156
+ }
@@ -0,0 +1,57 @@
1
+ import type { TWlzf } from "@ningboyz/types";
2
+ import type { HttpRequest } from "../axios";
3
+ import { IWlzfEnvrDeletedbQuerys, IWlzfEnvrInsertdbQuerys, IWlzfEnvrSelectdbFind, IWlzfEnvrUpdatedbQuerys, TWlzfEnvrDetaildbQuerys, TWlzfEnvrSelectdbQuerys } from "./types";
4
+
5
+ class EnvrRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ /**
12
+ * 新增
13
+ * @param params
14
+ * @returns
15
+ */
16
+ insertdb(querys: IWlzfEnvrInsertdbQuerys, params: object) {
17
+ return this.httpRequest.post<TWlzf.IWlzfEnvrResponse[]>("/gapi/wlzf/tenvr/insertdb", querys, params);
18
+ }
19
+
20
+ /**
21
+ * 修改
22
+ * @param params
23
+ * @returns
24
+ */
25
+ updatedb(querys: IWlzfEnvrUpdatedbQuerys, params: object) {
26
+ return this.httpRequest.post<TWlzf.IWlzfEnvrResponse[]>("/gapi/wlzf/tenvr/updatedb", querys, params);
27
+ }
28
+
29
+ /**
30
+ * 删除
31
+ * @param params
32
+ * @returns
33
+ */
34
+ deletedb(querys: IWlzfEnvrDeletedbQuerys, params: object) {
35
+ return this.httpRequest.post<TWlzf.IWlzfEnvrResponse[]>("/gapi/wlzf/tenvr/deletedb", querys, params);
36
+ }
37
+
38
+ /**
39
+ * 获取支付环境列表
40
+ * @param querys
41
+ * @returns
42
+ */
43
+ selectdb(querys: TWlzfEnvrSelectdbQuerys, find: IWlzfEnvrSelectdbFind) {
44
+ return this.httpRequest.post<TWlzf.IWlzfEnvrResponse[]>("/gapi/wlzf/tenvr/selectdb", querys, find);
45
+ }
46
+
47
+ /**
48
+ * 获取支付环境详情
49
+ * @param querys
50
+ * @returns
51
+ */
52
+ detaildb(querys: TWlzfEnvrDetaildbQuerys) {
53
+ return this.httpRequest.post<TWlzf.IWlzfEnvrResponse[]>("/gapi/wlzf/tenvr/detaildb", querys, undefined);
54
+ }
55
+ }
56
+
57
+ export default EnvrRequest;
@@ -1,14 +1,17 @@
1
1
  import { createRequest, IAxiosConfig } from "../axios";
2
- import TLihaRequest from "./liha";
3
- import TenvrRequest from "./main";
2
+ import EnvrRequest from "./envr";
3
+ import LihaRequest from "./liha";
4
+ import MainRequest from "./main";
4
5
 
5
6
  class WlzfRequest {
6
- public main: TenvrRequest;
7
- public liha: TLihaRequest;
7
+ public main: MainRequest;
8
+ public envr: EnvrRequest;
9
+ public liha: LihaRequest;
8
10
  constructor(config: IAxiosConfig) {
9
11
  const request = createRequest(config);
10
- this.main = new TenvrRequest(request);
11
- this.liha = new TLihaRequest(request);
12
+ this.main = new MainRequest(request);
13
+ this.envr = new EnvrRequest(request);
14
+ this.liha = new LihaRequest(request);
12
15
  }
13
16
  }
14
17
 
@@ -2,14 +2,14 @@ import type { TWlzf } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
3
  import { IWlzfLihaSelectdbQuerys } from "./types";
4
4
 
5
- class TLihaRequest {
5
+ class LihaRequest {
6
6
  private httpRequest: HttpRequest;
7
7
  constructor(httpRequest: HttpRequest) {
8
8
  this.httpRequest = httpRequest;
9
9
  }
10
10
 
11
11
  /**
12
- * 获取支付环境列表
12
+ * 获取银行列表
13
13
  * @param querys
14
14
  * @returns
15
15
  */
@@ -18,4 +18,4 @@ class TLihaRequest {
18
18
  }
19
19
  }
20
20
 
21
- export default TLihaRequest;
21
+ export default LihaRequest;
@@ -1,8 +1,8 @@
1
1
  import type { TWlzf } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { TWlzfDetaildbQuerys, TWlzfSelectdbQuerys } from "./types";
3
+ import { IWlzfMainInsertdbQuerys } from "./types";
4
4
 
5
- class TenvrRequest {
5
+ class MainRequest {
6
6
  private httpRequest: HttpRequest;
7
7
  constructor(httpRequest: HttpRequest) {
8
8
  this.httpRequest = httpRequest;
@@ -13,45 +13,9 @@ class TenvrRequest {
13
13
  * @param params
14
14
  * @returns
15
15
  */
16
- insertdb(params: object) {
17
- return this.httpRequest.post<TWlzf.IWlzfEnvrResponse[]>("/gapi/wlzf/tenvr/insertdb", undefined, params);
18
- }
19
-
20
- /**
21
- * 修改
22
- * @param params
23
- * @returns
24
- */
25
- updatedb(params: object) {
26
- return this.httpRequest.post<TWlzf.IWlzfEnvrResponse[]>("/gapi/wlzf/tenvr/updatedb", undefined, params);
27
- }
28
-
29
- /**
30
- * 删除
31
- * @param params
32
- * @returns
33
- */
34
- deletedb(params: object) {
35
- return this.httpRequest.post<TWlzf.IWlzfEnvrResponse[]>("/gapi/wlzf/tenvr/deletedb", undefined, params);
36
- }
37
-
38
- /**
39
- * 获取支付环境列表
40
- * @param querys
41
- * @returns
42
- */
43
- selectdb(querys: TWlzfSelectdbQuerys) {
44
- return this.httpRequest.post<TWlzf.IWlzfEnvrResponse[]>("/gapi/wlzf/tenvr/selectdb", querys, undefined);
45
- }
46
-
47
- /**
48
- * 获取支付环境详情
49
- * @param querys
50
- * @returns
51
- */
52
- detaildb(querys: TWlzfDetaildbQuerys) {
53
- return this.httpRequest.post<TWlzf.IWlzfEnvrResponse[]>("/gapi/wlzf/tenvr/detaildb", querys, undefined);
16
+ insertdb(querys: IWlzfMainInsertdbQuerys, params: object) {
17
+ return this.httpRequest.post<TWlzf.IWlzfEnvrResponse[]>("/gapi/wlzf/tmain/insertdb", querys, params);
54
18
  }
55
19
  }
56
20
 
57
- export default TenvrRequest;
21
+ export default MainRequest;
@@ -1,55 +1,46 @@
1
- export interface IWlzfSelectdbQuerys {
2
- sourcend: number;
3
- sourceid: number;
4
- }
1
+ /**===============evnr================== */
2
+ export interface IWlzfEnvrInsertdbQuerys {}
5
3
 
6
- export class TWlzfSelectdbQuerys implements IWlzfSelectdbQuerys {
7
- sourcend: number = -1;
8
- sourceid: number = -1;
9
- }
4
+ export class TWlzfEnvrInsertdbQuerys implements IWlzfEnvrInsertdbQuerys {}
10
5
 
11
- export interface IWlzfInsertdbQuerys {
12
- sourcend: number;
13
- sourceid: number;
14
- }
6
+ export interface IWlzfEnvrUpdatedbQuerys {}
15
7
 
16
- export class TWlzfInsertdbQuerys implements IWlzfInsertdbQuerys {
17
- sourcend: number = -1;
18
- sourceid: number = -1;
19
- }
8
+ export class TWlzfEnvrUpdatedbQuerys implements IWlzfEnvrUpdatedbQuerys {}
20
9
 
21
- export interface IWlzfUpdatedbQuerys {
22
- sourcend: number;
23
- sourceid: number;
10
+ export interface IWlzfEnvrSelectdbQuerys {
11
+ unitmain: number;
12
+ entityid: string;
24
13
  }
25
14
 
26
- export class TWlzfUpdatedbQuerys implements IWlzfUpdatedbQuerys {
27
- sourcend: number = -1;
28
- sourceid: number = -1;
15
+ export class TWlzfEnvrSelectdbQuerys implements IWlzfEnvrSelectdbQuerys {
16
+ unitmain: number = -1;
17
+ entityid: string = "";
29
18
  }
30
19
 
31
- export interface IWlzfDeletedbQuerys {
32
- sourcend: number;
33
- sourceid: number;
20
+ export interface IWlzfEnvrSelectdbFind {
21
+ envrName: string;
22
+ aczfYhzh: string;
34
23
  }
35
24
 
36
- export class TWlzfDeletedbQuerys implements IWlzfDeletedbQuerys {
37
- sourcend: number = -1;
38
- sourceid: number = -1;
25
+ export class TWlzfEnvrSelectdbFind {
26
+ envrName: string = "";
27
+ aczfYhzh: string = "";
39
28
  }
40
29
 
41
- export interface IWlzfDetaildbQuerys {
42
- sourcend: number;
30
+ export interface TWlzfEnvrDetaildbQuerys {
31
+ envrmain: number;
43
32
  entityid: string;
44
33
  }
45
34
 
46
- export class TWlzfDetaildbQuerys implements IWlzfDetaildbQuerys {
47
- sourcend: number = -1;
48
- entityid: string = "-1";
35
+ export class TWlzfEnvrDetaildbQuerys implements TWlzfEnvrDetaildbQuerys {
36
+ envrmain: number = -1;
37
+ entityid: string = "";
49
38
  }
50
39
 
51
- /******* 联机账户管理 *******/
40
+ export interface IWlzfEnvrDeletedbQuerys {}
41
+ export class TWlzfEnvrDeletedbQuerys implements IWlzfEnvrDeletedbQuerys {}
52
42
 
43
+ /**===============liha================== */
53
44
  export interface IWlzfLihaSelectdbQuerys {
54
45
  lihacode: string;
55
46
  asnormal: number;
@@ -59,3 +50,12 @@ export class TWlzfLihaSelectdbQuerys implements IWlzfLihaSelectdbQuerys {
59
50
  lihacode: string = "";
60
51
  asnormal: number = -1;
61
52
  }
53
+
54
+ /**===============main================== */
55
+ export interface IWlzfMainInsertdbQuerys{
56
+
57
+ }
58
+
59
+ export class TWlzfMainInsertdbQuerys implements IWlzfMainInsertdbQuerys{
60
+
61
+ }
@@ -0,0 +1,22 @@
1
+ import { TYzht } from "@ningboyz/types";
2
+ import type { HttpRequest } from "../axios";
3
+ import { IEmptyQuerys } from "../type";
4
+
5
+ class FymxRequest {
6
+ private httpRequest: HttpRequest;
7
+ constructor(httpRequest: HttpRequest) {
8
+ this.httpRequest = httpRequest;
9
+ }
10
+
11
+ /**
12
+ * 新增合同费用明细
13
+ * @param querys
14
+ * @param params
15
+ * @returns
16
+ */
17
+ insertdb(querys: IEmptyQuerys, params: object) {
18
+ return this.httpRequest.post<TYzht.IYzhtMainResponse[]>("/gapi/yzht/tfymx/insertdb", querys, params);
19
+ }
20
+ }
21
+
22
+ export default FymxRequest;
@@ -1,20 +1,24 @@
1
1
  import { createRequest, IAxiosConfig } from "../axios";
2
2
  import BillRequest from "./bill";
3
+ import FymxRequest from "./fymx";
3
4
  import GlpzRequest from "./glpz";
4
5
  import MainRequest from "./main";
5
6
 
6
7
  class YzhtRequest {
7
8
  public main: MainRequest;
8
9
  public bill: BillRequest;
10
+ public fymx: FymxRequest;
9
11
  public glpz: GlpzRequest;
10
12
 
11
13
  constructor(config: IAxiosConfig) {
12
14
  const request = createRequest(config);
13
15
  this.main = new MainRequest(request);
14
16
  this.bill = new BillRequest(request);
17
+ this.fymx = new FymxRequest(request);
15
18
  this.glpz = new GlpzRequest(request);
16
19
  }
17
20
  }
18
21
 
19
22
  export default YzhtRequest;
20
23
  export * from "./types";
24
+
@@ -312,6 +312,16 @@ class YzhtRequest {
312
312
  return this.httpRequest.post<TCustom.IValidReponse[]>("/gapi/yzht/tmain/witheror/updatedb", querys, params);
313
313
  }
314
314
 
315
+ /**
316
+ * 合同更新金额
317
+ * @param querys
318
+ * @param params
319
+ * @returns
320
+ */
321
+ outmoneyUpdatedb(querys: IEmptyQuerys, params: object) {
322
+ return this.httpRequest.post<TCustom.IValidReponse[]>("/gapi/yzht/tmain/outmoney/updatedb", querys, params);
323
+ }
324
+
315
325
  /**
316
326
  * 获取合同列表
317
327
  * @param querys