@ningboyz/apis 1.4.67 → 1.4.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.4.67",
3
+ "version": "1.4.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.4.67",
20
+ "@ningboyz/types": "1.4.68",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,5 +1,6 @@
1
1
  import { TBill, TCore } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
+ import { IEmptyQuerys } from "../type";
3
4
  import {
4
5
  IBillMainChkexistQuerys,
5
6
  IBillMainClosedbQuerys,
@@ -7,7 +8,6 @@ import {
7
8
  IBillMainDetaildbQuerys,
8
9
  IBillMainInsertdbQuerys,
9
10
  IBillMainSelectdbQuerys,
10
- IBillMainUpdated2Querys,
11
11
  IBillMainUpdatedbQuerys
12
12
  } from "./types";
13
13
 
@@ -103,12 +103,13 @@ class MainRequest {
103
103
  }
104
104
 
105
105
  /**
106
- * 票据关闭
106
+ * 额度计算
107
107
  * @param querys
108
+ * @param params
108
109
  * @returns
109
110
  */
110
- updated2(querys: IBillMainUpdated2Querys) {
111
- return this.httpRequest.post<TBill.IBillMainResponse[]>(`/gapi/bill/tmain/datahide/updatedb`, querys);
111
+ calculate(querys: IEmptyQuerys, params: object) {
112
+ return this.httpRequest.post<TBill.IBillMainResponse[]>(`/gapi/bill/tmain/calculate`, querys, params);
112
113
  }
113
114
  }
114
115
 
@@ -72,10 +72,3 @@ export class TBillMainClosedbQuerys implements IBillMainClosedbQuerys {
72
72
  closetype: number = -1;
73
73
  canclose: number = -1;
74
74
  }
75
-
76
- export interface IBillMainUpdated2Querys {
77
- datahide: number;
78
- billmain: number;
79
- closetype: number;
80
- canclose: number;
81
- }