@ningboyz/apis 1.0.62 → 1.0.64

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.0.62",
3
+ "version": "1.0.64",
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.0.62",
20
+ "@ningboyz/types": "1.0.64",
21
21
  "axios": "1.8.4"
22
22
  },
23
23
  "devDependencies": {}
@@ -10,7 +10,7 @@ import FormRequest from "./form";
10
10
  import ZczjRequest from "./zczj";
11
11
  import P4pzRequest from "./p4pz";
12
12
  import ZczjPropRequest from "./zczjProp";
13
- import TzclbsortRequest from "./tzclbsort";
13
+ import TzclbgblbRequest from "./tzclbgblb";
14
14
 
15
15
  class CardRequest {
16
16
  public gblb: GblbRequest;
@@ -24,7 +24,7 @@ class CardRequest {
24
24
  public p4pz: P4pzRequest;
25
25
  public zczj: ZczjRequest;
26
26
  public zczjProp: ZczjPropRequest;
27
- public tzclbsort: TzclbsortRequest;
27
+ public tzclbgblb: TzclbgblbRequest;
28
28
 
29
29
  constructor(config: IAxiosConfig) {
30
30
  const request = createRequest(config);
@@ -39,7 +39,7 @@ class CardRequest {
39
39
  this.p4pz = new P4pzRequest(request);
40
40
  this.zczj = new ZczjRequest(request);
41
41
  this.zczjProp = new ZczjPropRequest(request);
42
- this.tzclbsort = new TzclbsortRequest(request);
42
+ this.tzclbgblb = new TzclbgblbRequest(request);
43
43
  }
44
44
  }
45
45
 
@@ -23,9 +23,17 @@ export class TCardGblbDetaildbQuerys implements ICardGblbDetaildbQuerys {
23
23
  gblbmain: number = -1;
24
24
  }
25
25
 
26
- export interface ICardGblbUploaddbQuerys {}
26
+ export interface ICardGblbUploaddbQuerys {
27
+ /** 年度 */
28
+ sourcend: number;
29
+ /** 编码规则 */
30
+ coderule: string;
31
+ }
27
32
 
28
- export class TCardGblbUploaddbQuerys implements ICardGblbUploaddbQuerys {}
33
+ export class TCardGblbUploaddbQuerys implements ICardGblbUploaddbQuerys {
34
+ sourcend: number = -1;
35
+ coderule: string = "";
36
+ }
29
37
 
30
38
  export interface ICardGblbGet4zclbQuerys {
31
39
  /** 年度 */
@@ -19,7 +19,7 @@ class TzclbsortRequest {
19
19
  * @returns
20
20
  */
21
21
  selectdb(querys: ICardZclbsortSelectdbQuerys) {
22
- return this.httpRequest.post<TCard.TSyszclbgblbResponse[]>("/gapi/card/tzclbsort/selectdb", querys, undefined);
22
+ return this.httpRequest.post<TCard.TSyszclbgblbResponse[]>("/gapi/card/tzclbgblb/selectdb", querys, undefined);
23
23
  }
24
24
 
25
25
  /**
@@ -29,7 +29,7 @@ class TzclbsortRequest {
29
29
  * @returns
30
30
  */
31
31
  uploaddb(querys: ICardZclbsortUploaddbQuerys, params: TParams<TCard.TSyszclbgblbResponse[]>) {
32
- return this.httpRequest.post<TCard.TSyszclbgblbResponse[]>("/gapi/card/tzclbsort/uploaddb", querys, params);
32
+ return this.httpRequest.post<TCard.TSyszclbgblbResponse[]>("/gapi/card/tzclbgblb/uploaddb", querys, params);
33
33
  }
34
34
  }
35
35
 
@@ -1,6 +1,6 @@
1
1
  import type { TFlow } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { IFlowMainSelectdbQuerys } from "./type";
3
+ import { IFlowMainSelectdbQuerys, IFlowMainDetaildbQuerys } from "./type";
4
4
 
5
5
  class MainRequest {
6
6
  private httpRequest: HttpRequest;
@@ -21,8 +21,8 @@ class MainRequest {
21
21
  * 审批流程详情
22
22
  * @param params
23
23
  */
24
- detaildb(params: object) {
25
- return this.httpRequest.post<TFlow.IFlowMainResponse[]>("/flow/tmain/detaildb", undefined, params);
24
+ detaildb(querys: IFlowMainDetaildbQuerys) {
25
+ return this.httpRequest.post<TFlow.IFlowMainResponse[]>("/flow/tmain/detaildb", querys, undefined);
26
26
  }
27
27
 
28
28
  /**
@@ -86,38 +86,45 @@ export class TFlowMainSelectdbQuerys implements IFlowMainSelectdbQuerys {
86
86
  unitmain: number = -1;
87
87
  useruuid: string = "";
88
88
  }
89
+ export interface IFlowMainDetaildbQuerys {
90
+ flowmain: number;
91
+ }
92
+
93
+ export class TFlowMainDetaildbQuerys implements IFlowMainDetaildbQuerys {
94
+ flowmain: number = -1;
95
+ }
89
96
 
90
97
  /** ========== node ======== */
91
- export interface IFlowNodeSelectdbQuerys{
98
+ export interface IFlowNodeSelectdbQuerys {
92
99
  flowmain: number;
93
100
  }
94
101
 
95
- export class TFlowNodeSelectdbQuerys implements IFlowNodeSelectdbQuerys{
102
+ export class TFlowNodeSelectdbQuerys implements IFlowNodeSelectdbQuerys {
96
103
  flowmain: number = -1;
97
104
  }
98
105
 
99
- export interface IFlowNodeDetaildbQuerys{
106
+ export interface IFlowNodeDetaildbQuerys {
100
107
  flowmain: number;
101
108
  flownode: number;
102
109
  }
103
110
 
104
- export class TFlowNodeDetaildbQuerys implements IFlowNodeDetaildbQuerys{
111
+ export class TFlowNodeDetaildbQuerys implements IFlowNodeDetaildbQuerys {
105
112
  flowmain: number = -1;
106
113
  flownode: number = -1;
107
114
  }
108
115
 
109
- export interface IFlowNodeInsertdbQuerys{
116
+ export interface IFlowNodeInsertdbQuerys {
110
117
  flowmain: number;
111
118
  }
112
119
 
113
- export class TFlowNodeInsertdbQuerys implements IFlowNodeInsertdbQuerys{
120
+ export class TFlowNodeInsertdbQuerys implements IFlowNodeInsertdbQuerys {
114
121
  flowmain: number = -1;
115
122
  }
116
123
 
117
- export interface IFlowNodeUpdatedbQuerys{
124
+ export interface IFlowNodeUpdatedbQuerys {
118
125
  flowmain: number;
119
126
  }
120
127
 
121
- export class TFlowNodeUpdatedbQuerys implements IFlowNodeUpdatedbQuerys{
128
+ export class TFlowNodeUpdatedbQuerys implements IFlowNodeUpdatedbQuerys {
122
129
  flowmain: number = -1;
123
- }
130
+ }
@@ -143,6 +143,6 @@ export interface ITablMainGet5formulaQuerys {
143
143
  tabltzbl: number;
144
144
  }
145
145
 
146
- export class ITablMainGet5formulaQuerys implements ITablMainGet5formulaQuerys {
146
+ export class TTablMainGet5formulaQuerys implements ITablMainGet5formulaQuerys {
147
147
  tabltzbl: number = -1;
148
148
  }