@ningboyz/apis 1.3.67 → 1.3.68

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.3.67",
3
+ "version": "1.3.68",
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.3.67",
20
+ "@ningboyz/types": "1.3.68",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,6 +1,15 @@
1
1
  import { THznk } from "@ningboyz/types";
2
2
  import { HttpRequest } from "../axios";
3
- import { IHznkMainDeletedbQuerys, IHznkMainDetailQuerys, IHznkMainFinishedQuerys, IHznkMainInsertdbQuerys, IHznkMainSelectdbQuerys, IHznkMainSelectglQuerys, IHznkMainUpdatedbQuerys } from "./type";
3
+ import {
4
+ IHznkMainDeletedbQuerys,
5
+ IHznkMainDetailQuerys,
6
+ IHznkMainFinishedQuerys,
7
+ IHznkMainInsertdbQuerys,
8
+ IHznkMainSelectdbQuerys,
9
+ IHznkMainSelectglQuerys,
10
+ IHznkMainSelectysQuerys,
11
+ IHznkMainUpdatedbQuerys
12
+ } from "./type";
4
13
 
5
14
  class MainRequest {
6
15
  private httpRequest: HttpRequest;
@@ -34,6 +43,10 @@ class MainRequest {
34
43
  selectgl(querys: IHznkMainSelectglQuerys) {
35
44
  return this.httpRequest.post<THznk.IHznkMainResponse[]>("/gapi/hznk/tmain/selectgl", querys, undefined);
36
45
  }
46
+
47
+ selectys(querys: IHznkMainSelectysQuerys, params: object) {
48
+ return this.httpRequest.post<THznk.IHznkMainResponse[]>("/gapi/hznk/tmain/selectys", querys, params);
49
+ }
37
50
  }
38
51
 
39
52
  export default MainRequest;
@@ -154,11 +154,10 @@ export interface IHznkMainSelectglQuerys {
154
154
  // notetype为note单据的datatype
155
155
  notetype: number;
156
156
  // 修改时传noteIndx
157
- noteIndx:number;
157
+ noteIndx: number;
158
158
  // 过滤未完成的单据
159
- isfinish:number;
160
- excenote:number
161
-
159
+ isfinish: number;
160
+ excenote: number;
162
161
  }
163
162
 
164
163
  export class THznkMainSelectglQuerys implements IHznkMainSelectglQuerys {
@@ -174,9 +173,17 @@ export class THznkMainSelectglQuerys implements IHznkMainSelectglQuerys {
174
173
  excepti2: number = -1;
175
174
  locknote: number = -1;
176
175
  notetype: number = -1;
177
- noteIndx:number = -1;
178
- isfinish:number = -1;
179
- excenote:number = -1;
176
+ noteIndx: number = -1;
177
+ isfinish: number = -1;
178
+ excenote: number = -1;
179
+ }
180
+
181
+ export interface IHznkMainSelectysQuerys {
182
+ sourcend: number;
183
+ }
184
+
185
+ export class THznkMainSelectysQuerys implements IHznkMainSelectysQuerys {
186
+ sourcend: number = -1;
180
187
  }
181
188
 
182
189
  export interface IHznkMainFinishedQuerys {
@@ -524,7 +531,6 @@ export class THznkFytqDeletedbQuerys implements IHznkFytqDeletedbQuerys {
524
531
  sourcend: number = -1;
525
532
  }
526
533
 
527
-
528
534
  export interface IHznkFydwcalcwbdwQuerys {
529
535
  sourcend: number;
530
536
  hznkindx: number;