@ningboyz/apis 1.8.3 → 1.8.5

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.8.3",
3
+ "version": "1.8.5",
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.8.3",
20
+ "@ningboyz/types": "1.8.5",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,6 +1,6 @@
1
1
  import type { TGzjg } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { IGzjgMainDetaildbQuerys, IGzjgMainSelectdbQuerys } from "./types";
3
+ import { IGzjgMainDetaildbQuerys, IGzjgMainSelectd3Querys, IGzjgMainSelectdbQuerys } from "./types";
4
4
 
5
5
  class MainRequest {
6
6
  private httpRequest: HttpRequest;
@@ -17,6 +17,15 @@ class MainRequest {
17
17
  return this.httpRequest.post<TGzjg.IGzjgMainResponse[]>("/gzjg/tmain/selectdb", querys, undefined);
18
18
  }
19
19
 
20
+ /**
21
+ * 获取填报结构列表(同时获取账套信息)
22
+ * @param querys
23
+ * @returns
24
+ */
25
+ selectd3(querys: IGzjgMainSelectd3Querys) {
26
+ return this.httpRequest.post<TGzjg.IGzjgMainResponse[]>("/gzjg/tmain/selectd3", querys, undefined);
27
+ }
28
+
20
29
  /**
21
30
  * 新增填报结构
22
31
  * @param params
@@ -95,6 +95,24 @@ export class TGzjgMainSelectdbQuerys implements IGzjgMainSelectdbQuerys {
95
95
  sysclasc: number = -1;
96
96
  }
97
97
 
98
+ export interface IGzjgMainSelectd3Querys {
99
+ asholder: number;
100
+ unittype: number;
101
+ gzjgmain: number;
102
+ sysclasc: number;
103
+ sourcend: number;
104
+ withyzpz: number;
105
+ }
106
+
107
+ export class TGzjgMainSelectd3Querys implements IGzjgMainSelectd3Querys {
108
+ asholder: number = -1;
109
+ unittype: number = -1;
110
+ gzjgmain: number = -1;
111
+ sysclasc: number = -1;
112
+ sourcend: number = -1;
113
+ withyzpz: number = -1;
114
+ }
115
+
98
116
  export interface IGzjgMainDetaildbQuerys {
99
117
  gzjgmain: number;
100
118
  sourcend: number;
@@ -141,32 +159,23 @@ export class TGzjgGzlmTyptotalUploaddbQuerys implements IGzjgGzlmTyptotalUploadd
141
159
  tablname: string = "";
142
160
  }
143
161
 
144
-
145
162
  /** ========== bind ========== */
146
163
 
147
- export interface IGzjgBindSelectdbQuerys {
148
- }
164
+ export interface IGzjgBindSelectdbQuerys {}
149
165
 
150
- export class TGzjgBindSelectdbQuerys implements IGzjgBindSelectdbQuerys {
151
- }
166
+ export class TGzjgBindSelectdbQuerys implements IGzjgBindSelectdbQuerys {}
152
167
 
153
- export interface IGzjgBindInsertdbQuerys {
154
- }
168
+ export interface IGzjgBindInsertdbQuerys {}
155
169
 
156
- export class TGzjgBindInsertdbQuerys implements IGzjgBindInsertdbQuerys {
157
- }
170
+ export class TGzjgBindInsertdbQuerys implements IGzjgBindInsertdbQuerys {}
158
171
 
159
- export interface IGzjgBindUpdatedbQuerys {
160
- }
172
+ export interface IGzjgBindUpdatedbQuerys {}
161
173
 
162
- export class TGzjgBindUpdatedbQuerys implements IGzjgBindUpdatedbQuerys {
163
- }
174
+ export class TGzjgBindUpdatedbQuerys implements IGzjgBindUpdatedbQuerys {}
164
175
 
165
- export interface IGzjgBindDeletedbQuerys {
166
- }
176
+ export interface IGzjgBindDeletedbQuerys {}
167
177
 
168
- export class TGzjgBindDeletedbQuerys implements IGzjgBindDeletedbQuerys {
169
- }
178
+ export class TGzjgBindDeletedbQuerys implements IGzjgBindDeletedbQuerys {}
170
179
 
171
180
  export interface IGzjgBindDetaildbQuerys {
172
181
  idEntity: number;
@@ -184,4 +193,4 @@ export interface IGzjgBindGet4GzlmQuerys {
184
193
  export class TGzjgBindGet4GzlmQuerys implements IGzjgBindGet4GzlmQuerys {
185
194
  taskmain: number = 0;
186
195
  gzjgmain: number = 0;
187
- }
196
+ }